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 / 3D Issue

Author
Message
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 16th Jan 2010 02:37 Edited at: 16th Jan 2010 02:39
Hello, hopefully this question hasnt been answered to many times already. I have been using Dark GDK and it has been working great. I have created some great 2D work. But the problem is that i cant get any 3D to work. I just get a blue screen.

I have created a new project through the Dark GDK 3D game wizard. I see the text saying up and down to move the camera but no 3D at all just a blank blue screen. Any ideas what may be wrong?

Using windows 7 64 bit

Pic of problem:


Code (default wizard code)


www.touchofdeathproductions.com
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 16th Jan 2010 09:24
i think the camera is inside the object so you dont see them, object's scale is 100-500, and the camera position is 10, 10, -20

try setting the default camera position ( Z ) to -500

Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 16th Jan 2010 13:32
This is a very strange problem, I've run that wizard code lots of times an the objects always show.

I would suggest trying to load a model in and see if you have any luck with that.

I notice you have the blue background, I think this indicates that a 3D object has been loaded or created, you just can't see them for some reason.

Keep trying stuff, like Hassan has said, play with the camera, try to create other shapes, play with the scale. If no-one can help more try re-installing.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 16th Jan 2010 15:21
its not a problem, dude, look here:
in the code:

notice :


then:


so, it's impossible for the camera to see the objects, because its inside one of them, mostly
so, i tried this :


and it worked

Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 16th Jan 2010 15:52
That is strange, I copied and pasted his code and this is what I see(attached), I didn't have to do anything.

Attachments

Login to view attachments
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 16th Jan 2010 15:55
that makes no sense, the object's scale is more than 100

dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 16th Jan 2010 16:32
Quote: "the object's scale is more than 100"


So? 100 = no change, 200 = twice the size, etc.

Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 16th Jan 2010 17:08 Edited at: 16th Jan 2010 17:08
dark coders right, the spheres start at size 1 unit, the most they can be scaled with that code is to 500 which would make the largest sphere size 5 units, so moving the camera back 20 units should be enough.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 16th Jan 2010 17:57 Edited at: 16th Jan 2010 17:58
the size is a percentage?.....i thought it was units, damn, and i was wondering why i had all the scaling problems...

thanks for that useful comment, never knew it

EDIT: tried -20 Z code, and it worked..sorry for the wrong feedback.

Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 16th Jan 2010 18:12 Edited at: 17th Jan 2010 00:18
Got it working by uninstalling and then installing again. The repair option did not seem to fix it. It may have been the 7.4 update posted at the top of this forum that wrecked it.

Thanks for your help everyone.

www.touchofdeathproductions.com

Login to post a reply

Server time is: 2024-11-19 10:55:18
Your offset time is: 2024-11-19 10:55:18