![]() |
|
#1
|
|||
|
|||
Me again!
Hi farshizzo,
Unfortunately the model is invisible, when i comment out the shader code the normal is mapped correctly now tho ![]() Kind regards |
#2
|
|||
|
|||
I modified the sample script from my previous post to load your osg file instead, and it worked fine. Did you use the *exact* same script with only the filenames changed?
|
#3
|
|||
|
|||
Normal Mapping
Hiya Farshizzo,
Yes, all I altered was: Code:
#ball = viz.add('basketball.osg') ball = viz.add('Truck01.osg') #normal_tex = viz.add('bball_normal.jpg') normal_tex = viz.add('mybodynormalsmap.jpg') Apart from altering the distance on the pivot camera and making the background blue that was all i did, but to no avail. Is that what you meant? Thank you for your patience with this matter, Kindest regards, Nige |
#4
|
|||
|
|||
I've attached a modified version of the script I posted that replaces the models/textures with yours. I've also made a small tweak to the fragment shader. Try these out, it should work.
|
#5
|
|||
|
|||
Thank You!
![]() |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
environment maps, scenes, and you! | vadrian | Vizard | 1 | 01-12-2005 04:04 PM |
generating images for panoramas using cube maps | bailenson | Vizard | 5 | 09-08-2004 08:32 PM |