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.

Dark GDK / bump mapping

Author
Message
shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 19th May 2005 08:20 Edited at: 19th May 2005 08:23
Ok, so dark sdk supposidly supports bump mapping? Yes... Ok... then why is it that when I turn bump mapping on the model just dissapears? An example:



What am I doing wrong? Has it something to do with .fx shaders? *wonders*

Might it have something to do with the bit depth of the greyscale bump map?

Incase your wondering, yes my graphics card does support bump maps (nvidia 6800 ultra).

Note: I'm using dsdk 1.1

Sephnroth
20
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 19th May 2005 14:44
im afraid everything to do with shaders in darksdk is currently broken. they either make your model disapear or litrally crash the program :/

my cell shaded game is currently not cell shaded lol. its given me a bit of time to work on perfecting my .fx file (not normal cell shading!) but i cant test it properly in my games engine anyway XD

It should be fixed in a nearing patch, you'll just have to work on something else for the moment

[07:16:59-pm] « Sephnroth » you were dreaming about lee...
[07:17:13-pm] « Mouse » stfu
[07:17:22-pm] « Mouse » he was hanging himself lol
OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 19th May 2005 17:10
Can you make the jpeg's availiable ?

shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 20th May 2005 08:14
sure

Attachments

Login to view attachments
shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 20th May 2005 08:15
and main

Attachments

Login to view attachments
OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 20th May 2005 19:00 Edited at: 20th May 2005 19:04
I get the following :

Attachments

Login to view attachments
Sephnroth
20
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 21st May 2005 02:49
the shot is a streight on view so i cant tell if that has been bumped properly or not, bouncy. Is it just the normal object textured with no bump mapping or is it actually bumped?

When I tried I got the disapearing cube result, but im using darksdk 1.0 still. Was bump mapping fixed in 1.1? and if so were shaders also fixed? As i got same results with shaders as i did with stuff like set bump mapping on i figured they shared the same problem.

[07:16:59-pm] « Sephnroth » you were dreaming about lee...
[07:17:13-pm] « Mouse » stfu
[07:17:22-pm] « Mouse » he was hanging himself lol
OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 21st May 2005 03:35 Edited at: 21st May 2005 03:37
Ignore my last message - I had commented out the bump mapping command... I get the Mystery Of The Disappearing Cube too...

I've e-mailed Mike about it...

shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 22nd May 2005 04:07
I think the aspects of db sdk that don't work yet should be removed from the list of things it supports untill they are fixed. This is blatant false advertising!

Mike Johnson
TGC Developer
20
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 23rd May 2005 06:42
I haven't come across any problems with shaders yet in the SDK. I have several unreleased demos that use many shaders so they do work

I'm not sure why you are getting the results that you are. I'm on the case.
shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 1st Jun 2005 16:39
Have any of us lowly end users actualy managed to get shaders or bump mapping to work, if so can you show a demo? When might the bump mapping fix come? I'm so pissed that things that where documented as supported when I bought dark SDK are not working!!!!

Out of curiosity, when shaders are fixed, will it be possible to get normal mapping to work????

Mike Johnson
TGC Developer
20
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 1st Jun 2005 18:03
Has anybody tried running the FX demo that comes with the SDK? Does this work for you?

I have a collection of shader demos in DB Pro and will be working on converting them to the SDK so we can provide more sample code on showing how to get things working.
Sephnroth
20
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 2nd Jun 2005 03:20
with the sdk 1.0 opening the vc6 shader project and hitting run just produces me with an empty blue backdrop - no crashes, no errors, just the obejcts have disapeared :/

[07:16:59-pm] « Sephnroth » you were dreaming about lee...
[07:17:13-pm] « Mouse » stfu
[07:17:22-pm] « Mouse » he was hanging himself lol
OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd Jun 2005 06:13
Both the sphere and FX demos work fine here.

DcZee
19
Years of Service
User Offline
Joined: 28th Apr 2003
Location:
Posted: 6th Jun 2005 01:45
Video card maybe? If they dont support the shader version then you will get weird results
shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 6th Jun 2005 05:55
Noop, for sure its not the video card, at least in my case.

Its all very well to say "fx demos working for me" but can anyone screen shot a working version of bump mapping? Is there any hope?

shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 8th Jun 2005 07:48
I keep getting runtime errors trying to compile the FX demo?? I still haven't been able to get any type of FX to work... has any one any ideas about the fx demo if not bump mapping specificly.

I get a runtime error pertaining to this line in "new.cpp" whatever that is. "Unhandled exception at 0x0051bb0a in test.exe: 0xC0000005: Access violation reading location 0x0000001c."



Actualy, I don't get an error with certain FX files (for instance, bubble.fx) but the object just turns invisible allot like what happens with bump mapping! PFFFFFFT.

Those who have got the FX demo to work, are you using VS 6? or .net? Might you have something set differently than me? Anyone have any ideas? ARRR.

shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 8th Jun 2005 08:00
At least sphere mapping works! Yey. Dark SDK sure is cutting edge. *massive sarcastic overtones*

OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 8th Jun 2005 16:53 Edited at: 8th Jun 2005 17:07
Quote: "Those who have got the FX demo to work, are you using VS 6? or .net?"

I use .Net 2003
However, it does seem as though the 1.1.1 version doesn't run, although the executable with the original installation is fine. It seems to be the aniso.fx file that causes the problem.

MikeS
Retired Moderator
20
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 9th Jun 2005 02:55
Try using this object for your bump map. I was having a similar problem with DBP(I'm not a DSDK user), so hopefully it's the same solution.

Things to remember(at least with DBP):

-Light 0(default light) is the only light the object will receive light information from.
-normal maps seem to work better than greyscales or heightmaps.
-Use point lighting instead of directional(may or may not help)
-Enable culling of the object
-.png's are probably the best to use, but any other format should be okay.



A book? I hate book. Book is stupid.
(Formerly Yellow)
shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 9th Jun 2005 07:42 Edited at: 9th Jun 2005 07:44
Thanks for the advice MikeS but bump mapping is still a no go. I'm quite sure this is a bug with the sdk as no one yet can seem to get bump mapping to work in any capacity.

MikeS
Retired Moderator
20
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 10th Jun 2005 07:40
Oops, seems I forgot to post the image.

Did you already try to create a normal map on your own and see if it worked?



A book? I hate book. Book is stupid.
(Formerly Yellow)

Attachments

Login to view attachments
shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 10th Jun 2005 08:20
Yup, I made a normal map myself and gave it a go. The object still disappears as soon as bump mapping is applied.

Thanks anyways.

MikeS
Retired Moderator
20
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 11th Jun 2005 11:43
Hmm, too bad it isn't working. I'm guessing it is definitly a bug in the SDK then. Try to e-mail MikeJ again, if you haven't already.



A book? I hate book. Book is stupid.
(Formerly Yellow)
shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 15th Jun 2005 12:16
What are might be the chances bump mapping will be working in time for the puzzle game competition?

Siege
19
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Norway
Posted: 20th Jun 2005 00:29
my advice, don't use the prog untill it's done

shiny
19
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 20th Jun 2005 15:23
Yeah... Thanks for that siege.

matt rochon
19
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 9th Jul 2005 06:31
the demo seems to work fine for me i just run it from the demo showcase

Attachments

Login to view attachments
OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 9th Jul 2005 06:39
Mind you, I dont think that uses bump mapping...

matt rochon
19
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 9th Jul 2005 06:51
oh fair enough

maybe i shoulda checked sorry
OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home

Login to post a reply

Server time is: 2023-02-02 15:11:38
Your offset time is: 2023-02-02 15:11:38