go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Update REQ 6047]: Bug in geomview-1.6b





Hi,

I tried out geomview 161b8 on this:



Basically the problem is that when running Geomview 1.6 on an Irix 6.2
machine but displaying the output on a 5.3 machine, the polygons and
vectors are not displayed.

Well I found the polygons and vectors.  And the problem doesn't seem
to between 6.2 and 5.3 machines but limited to 5.3 machines and X.
Between 6.2 machines everything is fine.

The polygons and vectors (but not the polygon edges, polygon normals
or bounding boxes) are scaled and translated away from the correct
position.

I appears that the bounding box, polygon edges and polygon normals are
drawn correctly.  The VECTs and polygons are:

When Shaded     Are rendered
Constant        polygons: 2x correct size and offset
                VECT: correct size and placement
Flat            polygons: 2x correct size and offset
                VECT: 2x correct size and offset
Smooth          polygons: 2x correct size and offset
                VECT: 4x times correct size and offset
CSmooth         polygons: 4x correct size and offset
                VECT: correct size and placement

It's interesting that VECTs loaded in from other files (such as
axes.list) are also scaled in the manner listed above, but not
translated. 

Here are the results for axes.list, measurements are made against it's
bounding box:

When Shaded     Is rendered:
Constant        correct size and placement
Flat            Y and Z labels and axes scaled 5x, X label (but not
                axis) translated and scaled 5x.  Bounding box edge
                from (X, -Z, -Y) (-X, -Z, -Y) scaled 5X and drawn from
                (5X, Z, Y) (-5X, Z, Y)    
Smooth          same as for Flat
CSmooth         correct size and placement

If you need some screen dumps that can be arranged.

-Jason


Attached below is the geomview File->Save script that I am using.
Here is the setup:

Display machine:
% uname -a 
IRIX lucille 5.3 11091810 IP17 mips
% hinv
1 100 MHZ IP17 Processor
FPU: MIPS R4010 Floating Point Chip Revision: 0.0
CPU: MIPS R4000 Processor Chip Revision: 2.2
On-board serial ports: 4
Data cache size: 8 Kbytes
Instruction cache size: 8 Kbytes
Secondary unified instruction/data cache size: 1 Mbyte
Main memory size: 128 Mbytes
I/O board, slot F: IO3B
VGX Graphics option installed
Integral Ethernet: et0, IO3
Integral SCSI controller 1: Version WD33C93A, revision 9
Disk drive: unit 5 on SCSI controller 1
Disk drive: unit 4 on SCSI controller 1
Disk drive: unit 3 on SCSI controller 1
Disk drive: unit 2 on SCSI controller 1
Integral SCSI controller 0: Version WD33C93A, revision 9
Disk drive: unit 1 on SCSI controller 0
VME bus: adapter 0
% ginv
IRIS 4D Graphics Inventory (ginv v1.0)
--------------------------------------
Machine: 4DVGX running IRIX version 5.3
1 Screen(s) Accessible on this machine.

Screen Resolution:  1280 x 1024 pixels.
Zbuffer Resolution: 0xFF800000 min  0x7FFFFF max.
Software Accumulation Buffer with 16 bitplanes per colour component.
Alpha bitplanes in DoubleBuffered: 8, SingleBuffered: 8
Red   bitplanes in DoubleBuffered: 8, SingleBuffered: 8
Green bitplanes in DoubleBuffered: 8, SingleBuffered: 8
Blue  bitplanes in DoubleBuffered: 8, SingleBuffered: 8
Zbuffer  bitplanes present: 24
Stencil  bitplanes present: 8
Overlay  bitplanes present: 8
PopUp    bitplanes present: 2
Underlay bitplanes present: 8
User-defined Clipping Planes present: 6
antialiased points available in colormap
antialiased points available in RGB
antialiased lines available in colormap
antialiased lines available in RGB
antialiased polygons available in RGB
Number of verticies per polygon allowed: 256.

FUNCTIONS AVAILABLE:
afunction, logicop, fogvertex, two-sided lighting, blendfunction, readsource AUTO/FONT/BACK, readsource ZBUFFER, scrbox, subpixel points, subpixel lines, subpixel polygons, stereo, texture-mapping, polymode. 

FUNCTIONS NOT AVAILABLE:
64x64 patterns. 




Geomview 1.618b running on:
% uname -a
IRIX cheech 5.3 11091810 IP7 mips
% hinv
4 33 MHZ IP7 Processors
FPU: MIPS R2010A/R3010 VLSI Floating Point Chip Revision: 3.0
CPU: MIPS R2000A/R3000 Processor Chip Revision: 3.0
On-board serial ports: 2 per CPU board
Data cache size: 64 Kbytes
Instruction cache size: 64 Kbytes
Secondary data cache size: 256 Kbytes
Main memory size: 128 Mbytes
I/O board, slot F: IO2 revision 2
VGX Graphics option installed
Integral Ethernet: et0, IO2
Integral SCSI controller 0: Version WD33C93
Tape drive: unit 7 on SCSI controller 0: QIC 150
Disk drive: unit 3 on SCSI controller 0
Disk drive: unit 1 on SCSI controller 0
VME bus: adapter 0
% ginv
IRIS 4D Graphics Inventory (ginv v1.0)
--------------------------------------
Machine: 4DVGX running IRIX version 5.3
1 Screen(s) Accessible on this machine.

Screen Resolution:  1280 x 1024 pixels.
Zbuffer Resolution: 0xFF800000 min  0x7FFFFF max.
Software Accumulation Buffer with 16 bitplanes per colour component.
Alpha bitplanes in DoubleBuffered: 8, SingleBuffered: 8
Red   bitplanes in DoubleBuffered: 8, SingleBuffered: 8
Green bitplanes in DoubleBuffered: 8, SingleBuffered: 8
Blue  bitplanes in DoubleBuffered: 8, SingleBuffered: 8
Zbuffer  bitplanes present: 24
Stencil  bitplanes present: 8
Overlay  bitplanes present: 8
PopUp    bitplanes present: 2
Underlay bitplanes present: 8
User-defined Clipping Planes present: 6
antialiased points available in colormap
antialiased points available in RGB
antialiased lines available in colormap
antialiased lines available in RGB
antialiased polygons available in RGB
Number of verticies per polygon allowed: 256.

FUNCTIONS AVAILABLE:
afunction, logicop, fogvertex, two-sided lighting, blendfunction, readsource AUTO/FONT/BACK, readsource ZBUFFER, scrbox, subpixel points, subpixel lines, subpixel polygons, stereo, texture-mapping, polymode. 

FUNCTIONS NOT AVAILABLE:
64x64 patterns. 


Here is the geomview script:
(progn
 (merge-baseap appearance {
	 face
	 -edge
	 vect
	 -transparent
	 evert
	  shading flat
	 -normal
	   normscale 1
	   linewidth 1 
  material {
	shininess 15.000000
	ka 0.300000
	kd 1.000000
	ks 0.300000
	alpha 1.000000
	ambient 1.000000 1.000000 1.000000
	diffuse 1.000000 1.000000 1.000000
	specular 1.000000 1.000000 1.000000
	edgecolor 0.000000 0.000000 0.000000
	normalcolor 1.000000 1.000000 1.000000
  }
  lighting {
	ambient 0.2 0.2 0.2
	localviewer 1
	attenconst 0
	attenmult 0
	replacelights
	light {
		ambient 0.000000 0.000000 0.000000
		color 0.750000 0.750000 0.750000
		position 0.000000 0.000000 10.000000 0.000000
	}
	light {
		ambient 0.000000 0.000000 0.000000
		color 0.600000 0.600000 0.600000
		position 0.000000 1.000000 -1.000000 0.000000
	}
	light {
		ambient 0.000000 0.000000 0.000000
		color 0.400000 0.400000 0.400000
		position 1.000000 -2.000000 -1.000000 0.000000
	}
  }
}
 ) # end base appearance
(xform-set "worldgeom" transform {
   -0.63135278     0.6229164   -0.46191683             0
    0.76154178     0.3855232   -0.52098811             0
   -0.14645272   -0.68069988   -0.71778011             0
             0             0             0             1

}
)
(merge-ap "worldgeom" appearance {
	* face
	* edge
	* vect
	* normal
}
) # end appearance "worldgeom"
(new-geometry "[g1]"	# diagram
{ INST
transform {
             1             0             0             0
             0             1             0             0
             0             0             1             0
          -2.5          -2.5             0             1

}
  geom { LIST
{ appearance {
	 edge
	 -evert
	  shading smooth
	 normal
	   normscale 0.3
	   linewidth 2 
}
NOFF
16 18 32

1 1 -0.06  -0.40614 0 -0.91381
1 2 -0.22  -0.11043 0 -0.99388
1 3 -0.06  -0.40614 0 -0.91381
1 4 0  0 0 -1
2 1 -0.22  0.08683 -0.19538 -0.97688
2 2 -0.89  0 0 -1
2 3 -0.22  -0.08683 0.19538 -0.97688
2 4 0  0 0 -1
3 1 -0.06  0.26752 -0.60193 -0.75241
3 2 -0.17  0.48564 0 -0.87416
3 3 0.17  0.44952 0.55802 -0.69753
3 4 0.06  0.40614 0 -0.91381
4 1 0  0 0 -1
4 2 0.22  -0.08683 0.19538 -0.97688
4 3 0.89  0 0 -1
4 4 0.22  0.08683 -0.19538 -0.97688

3	 0 4 5
3	 0 5 1
3	 1 5 6
3	 1 6 2
3	 2 6 7
3	 2 7 3
3	 4 8 9
3	 4 9 5
3	 5 9 10
3	 5 10 6
3	 6 10 11
3	 6 11 7
3	 8 12 13
3	 8 13 9
3	 9 13 14
3	 9 14 10
3	 10 14 15
3	 10 15 11
}
{ appearance {
	 edge
	  shading smooth
	   linewidth 2 
}
VECT
12 72 1
6
6
6
6
6
6
6
6
6
6
6
6

1
0
0
0
0
0
0
0
0
0
0
0

0 0 0
0 1 0
0 2 0
0 3 0
0 4 0
0 5 0
1 0 0
1 1 0
1 2 0
1 3 0
1 4 0
1 5 0
2 0 0
2 1 0
2 2 -2
2 3 0
2 4 0
2 5 0
3 0 0
3 1 0
3 2 0
3 3 0
3 4 0
3 5 0
4 0 0
4 1 0
4 2 0
4 3 2
4 4 0
4 5 0
5 0 0
5 1 0
5 2 0
5 3 0
5 4 0
5 5 0
0 0 0
1 0 0
2 0 0
3 0 0
4 0 0
5 0 0
0 1 0
1 1 0
2 1 0
3 1 0
4 1 0
5 1 0
0 2 0
1 2 0
2 2 -2
3 2 0
4 2 0
5 2 0
0 3 0
1 3 0
2 3 0
3 3 0
4 3 2
5 3 0
0 4 0
1 4 0
2 4 0
3 4 0
4 4 0
5 4 0
0 5 0
1 5 0
2 5 0
3 5 0
4 5 0
5 5 0

0.8 1 0.8 1
}
}
}
) # end geometry "[g1]" diagram
(merge-ap "[g1]" appearance {
	* face
	* edge
	* vect
	* normal
}
) # end appearance "[g1]" diagram
(bbox-draw "[g1]" on)
(bbox-color "[g1]" 1.000000 1.000000 0.000000)
(normalization "[g1]" none)
(name-object "[g1]" "diagram")

(window default { position 596 1045 275 724 })
(camera "Camera" camera {
camtoworld transform {
             1             0             0             0
             0             1             0             0
             0             0             1             0
             0             0             4             1

}
	perspective 0  stereo 0
	fov 7
	frameaspect 1
	focus 3
	near 0.001
	far 20
}
) # camera "Camera" ...
(backcolor "Camera" 0.400000 0.400000 0.400000)
(window "Camera" window { size 450 450 position 596 1045 275 724 resize curpos 596 1045 275 724 viewport 0 449 0 449 }
)
# end camera Camera

(ui-target "World")
)


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo