View Single Post
Old June 19 2009, 05:35 PM   #80
BrookeStephen
Lieutenant Commander
 
Location: Toronto, Ontario, Canada
Re: VRML TOS Enterprise

TowerPower wrote: View Post

BrookeStephen,
I don't want to sidetrack this topic, but yes I'd like to see how you generate those images using the tools you mentioned. I'm completely lost.
Can you tell me how to get started or do you have a link to lessons?

And I too have looked at the Falcon Riddles page - interesting.

Well, there are interactive tutorials on the internet, like for example:
http://www.lighthouse3d.com/vrml/tutorial/

I've gone through this one. The IndexedFaceSet is the VRML node that I use the most. Pay particular attention to this one. You define a color, set the IndexedFaceSet to that color, then put in the points and then the indexes to the points to make planes: put this in a file with .VRML at the end of the file name...

#VRML V2.0 utf8
DEF carpetgrey Appearance { material Material { ambientIntensity 1 diffuseColor 0.58823 0.70588 0.77255 emissiveColor 0.2 0.2 0.2}}
#ground
Shape { appearance USE carpetgrey geometry IndexedFaceSet { ccw FALSE creaseAngle 0.2 convex FALSE coord Coordinate { point [
40 -4.248 -40
40 -4.428 40
-40 -4.248 40
-40 -4.248 -40
]} coordIndex [
0 1 2 3 -1
]}}

You'll need to install a VRML rendering engine to see the file as a big square on the ground, but it's the beginning of everything... you can make any bunch of points into planar components of a large shape, using this construct.

The renderer I use is from http://www.bitmanagement.de/

So now you know my secret!
Don't TELL anyone ELSE!!!
__________________
"It's not time to stop killing our fellow human beings over bronze-age scribblings...
it's time to stop believing in bronze-age scribblings!
The world never ever was flat, no matter how many believed it."
BrookeStephen is offline   Reply With Quote