Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Please help very NewBie with simple code

Author
Message
T0k1
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location:
Posted: 18th Nov 2002 15:42
Hello all.
i`have simple question:
Why after run this simple code is only see black sphere with no texture.
p.s. finally Bump Mapping is working with my Graphic Card (GF 4 Ti 4200) on DBPro.

Thanx very Mutch for help

Mirthin
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Land of the Rising Haggis
Posted: 18th Nov 2002 19:07
Could you post the .jpg files?

This has "Fiasco" written all over it.
brittd
21
Years of Service
User Offline
Joined: 28th Oct 2002
Location:
Posted: 18th Nov 2002 19:25
I assume because you forgot to add the line "texture object 1,1" just before the set bump mapping on.

There is no code that makes "ziemia.jpg" textured to your ball. So all you are getting is the bumpmapping "ziemia-b.jpg" slapped on a ball.
T0k1
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location:
Posted: 18th Nov 2002 20:17
this no work, after i`m added texture object 1,1 ;(

i`m add a change code, but still not work, please help, and thanks for help above



"ziemia.jpg" is a standart jpeg Earth image prepared esspecialy for texture sphere.

rapscaLLion
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 18th Nov 2002 23:05
Try putting "autocam on" BEFORE you make the sphere!

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
rapscaLLion
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 18th Nov 2002 23:06
oh nevermind, that won't help...

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
brittd
21
Years of Service
User Offline
Joined: 28th Oct 2002
Location:
Posted: 19th Nov 2002 05:11
Is ziemia.jpg a bumpmap or texture jpg? You had 2 before, and you should have 2 now. You use a grey scale jpg for bump map & a textured jpg for the color.
T0k1
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location:
Posted: 19th Nov 2002 12:18
ok, but how texture a Bump map, and normal map, in the same time on sphere (what function will do that?)

thanx

Login to post a reply

Server time is: 2024-03-29 08:56:38
Your offset time is: 2024-03-29 08:56:38