spheremap colors

Blitz3D Forums/Blitz3D Beginners Area/spheremap colors

Rook Zimbabwe(Posted 2004) [#1]
When I am in milkshape and I tell the program to Spheremap the texture I have selected... It looks mirror cool! How do I do that in my game?


Mustang(Posted 2004) [#2]
http://www.blitzbasic.com/b3ddocs/command.php?name=CreateTexture&ref=3d_cat

...note the "64" flag. :)

Check this also:

http://www.blitzbasic.com/Community/posts.php?topic=24135


Rook Zimbabwe(Posted 2004) [#3]
Again I am not thinking hard enough... I really need to learn to clarify.

In Milkshape when I set the enviroment to Spheremap the object in the preview window looks razor sharp and glitters really pretty...

But in B3D when I use spheremap I seelarge chunky and jaggy blocks of color on the flat areas... I have tried increasing the poly count until I get memory access errors cause they are too high... No joy!

The same thing happens if the objects are either b3d or 3ds or x. It doesn't seem to matter what format the object is.

-RZ


jhocking(Posted 2004) [#4]
If you are seeing jaggy blocks of color it is probably due to smoothing errors in your model. Specifically, spherical environment mapping only works well when the entire object is smoothed (I'm talking about the normals, not the polygons.) Please post some screenshots or the model in question; it is really hard to diagnose visual problems from a written description.


Rook Zimbabwe(Posted 2004) [#5]
OK this is what it looks like: (first attempt to post a pic here...)



The other two images are linked here:




Now assuming all went OK there should be piccage on the site here in a mo!

-RZ

PS I smoothed the surface as suggested... reflection on the curves is excellent but the flats are weird!


Rook Zimbabwe(Posted 2004) [#6]
OK what happened? Let me try this:



Rook Zimbabwe(Posted 2004) [#7]
Well according to the FAQ that is the correct code and the image is at the address specified...

Maybe a download link? No I can't seem to access the images myself but they show as uploaded when I hit the directory... CoreFTP has failed me??? No...

http://www.silverimports.com/images1/batty1.jpg