[X3D-Public] Quadric surface

Tom Sparks tom_a_sparks at yahoo.com.au
Mon Jan 11 07:37:50 PST 2010


I have not locked down how much is going to client or server side
for this project

I may even write own LODing algorithms like OctaLOD, portal LOD and clipmap based QuadLod

tom_a_sparks

--- On Tue, 12/1/10, Alexei Sourin (Assoc Prof) <assourin at ntu.edu.sg> wrote:

From: Alexei Sourin (Assoc Prof) <assourin at ntu.edu.sg>
Subject: RE: [X3D-Public] Quadric surface
To: "'Tom Sparks'" <tom_a_sparks at yahoo.com.au>, "'Alan Hudson'" <giles at yumetech.com>
Cc: "'X3D Graphics public mailing list'" <x3d-public at web3d.org>
Received: Tuesday, 12 January, 2010, 12:28 AM



 
 




Following my email, below is a code defining parametrically a torus with as many LODs as required. It is also available here http://www3.ntu.edu.sg/home/assourin/teaching/LOD/lod2a.wrl  (with the FVRML plugin installed) 
   
Best Regards, 
Alexei Sourin 
   
   
EXTERNPROTO MyShape[ 
            exposedField SFString color 
            exposedField MFInt32 shapeRes ]"MyShapeProto.wrl" 
   
LOD {  range [5,8,12,20,80]   
level [   
   MyShape {shapeRes [100 100]   } 
   MyShape {shapeRes [75 75]     } 
   MyShape {shapeRes [50 50]     }   
   MyShape {shapeRes [30 30]     }   
   MyShape {shapeRes [20 20]     }   
   MyShape {shapeRes [10 10]     } 
]    } 
   
............................................................................. 
   
PROTO MyShape[ 
            exposedField MFInt32 shapeRes [10 10]    ] 
{ 
FShape { 
appearance Appearance { 
material Material {  
diffuseColor 1 1 1 
   }    } 
geometry FGeometry { 
resolution IS shapeRes 
parameters [0.00001 6.2831853  0.00001  6.2831853] 
definition " 
x=(2 + 1*cos(u)) * cos(v); 
y=(2 + 1*cos(u)) * sin(v); 
z=1*sin(u);"       }}   
} 
   
 
-----Original Message----- 
From: Alexei Sourin (Assoc Prof)  
Sent: Monday, January 11, 2010 8:53 PM 
To: 'Tom Sparks'; 'Alan Hudson' 
Cc: X3D Graphics public mailing list 
Subject: RE: [X3D-Public] Quadric surface 
   
In FVRML/FX3D LOD can be done at the function level so that for different distances from the observer different rendering (polygonization) resolutions can be defined. 
   
Best Regards, 
Alexei Sourin 
   
   
-----Original Message----- 
From: Tom Sparks [mailto:tom_a_sparks at yahoo.com.au] 
 
Sent: Monday, January 11, 2010 5:50 PM 
To: 'Alan Hudson'; Alexei Sourin (Assoc Prof) 
Cc: X3D Graphics public mailing list 
Subject: RE: [X3D-Public] Quadric surface 
   
--- On Mon, 11/1/10, Alexei Sourin (Assoc Prof) <assourin at ntu.edu.sg> wrote: 
   
> You can also use FVRML or FX3D 
> function-based extension to directly write an equation of 
> your surface. 
>  
> http://www3.ntu.edu.sg/home/assourin/FVRML.htm 
>  
>  
> Best Regards, 
> Alexei Sourin 
<snip> 
   
I looked at it a while back, but it has no LODing features 
to deal with super big 500,000Km+ models with centimeter detail levels 
   
tom sparks 
   
   
      __________________________________________________________________________________ 
See what's on at the movies in your area. Find out now: http://au.movies.yahoo.com/session-times/ 




CONFIDENTIALITY: This email is intended solely for the person(s) named. The contents may be confidential and/or privileged. If you are not the intended recipient, please delete it, notify us, and do not copy or use it,
 nor disclose its contents. Thank you.



Towards A Sustainable Earth: Print Only When Necessary


 



      __________________________________________________________________________________
See what's on at the movies in your area. Find out now: http://au.movies.yahoo.com/session-times/



More information about the X3D-Public mailing list