This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > April 2004 > Level of detail





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Level of detail
Dan Dan the Magic Man

2004-04-06, 5:53 pm

Hi guys, im trying to create a level of detail on a picture on my gallery
wall.
I want a low quality image to swith to a high quality one as you walk
nearer.
I know that you use

LOD
{

}

but not sure exactly how to do it.
Any advice??
Cheers


Joerg Scheurich aka MUFTI

2004-04-06, 5:53 pm

> Hi guys, im trying to create a level of detail on a picture on my gallery

> but not sure exactly how to do it.



#VRML V2.0 utf8

LOD
{
level
[
Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
}
}
geometry Cone
{
}
}
]
}
Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
}
}
geometry Cylinder
{
}
}
]
}
]
range
[
10
]
}

Viewpoint
{
position 0 0 10.090000
}

Eckhard M. J?ger

2004-04-06, 5:53 pm

Hi Dan Dan,

take a look at "The Annotated VRML 97 Reference" too:
http://accad.osu.edu/~pgerstma/clas...Ref/ch3-326.htm

It is an online book with many demos.

--
::VRMLsuck::Bart
http://www.neeneenee.de/vrml/
http://www.neeneenee.de/vrml/forum/
VRkiTECHt

2004-04-13, 10:58 am

Hi Dan,

i guess you are having the typical problem that comes out when putting 2 (or more) textures parallel and (relatively to the length of the distance to the observer) very close to each other.
The solution i have found to dealing with this (i guess called "the z-buffer problem") is just adjusting by try-and-error method the optimal minimum distance that will avoid this freaky texture optical "interlacing" ......
Another solution, if for esthetic reasons you do not want to enlarge the distance between parallel textures, is "building" the wall behind out of (at least for 1 painting in your case) 4 rectangles. The problem is that you will need to be very neat and surely need to tamper with the polygons definition manually to make them fit together with the best accuracy possible not to have weird effects with the walls.
In your case, i am having trouble with almost all pictures, so i guess they
are all too close to the walls.

i am using blaxxun 5.1 pluggin ...... do not know what may happen with other plugins ....

cheers,

Marcello Scotti
marcello.scotti@telefonica.net
Barcelona
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews