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 .NET / Lights not working in C#?

Author
Message
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 25th Jun 2010 17:33
Hi

Doing this:


Gives me this error:


Soo does this means lights in DGDK.Net dont work?

Keep it simple.
Questions? Mail me
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 26th Jun 2010 02:05
this code snippet


seems to cause the same kinda error.

They are both used in class constructors, the whole class is in another file(texture.cs , public class texture(string texture_path))

Keep it simple.
Questions? Mail me
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 26th Jun 2010 02:11
Hayer,

What's the system spec?

With respect to the light problem, can you possibly email me the source sample?

With respect to the image call, can you tell me if the path variable is an absolute path or a relative path? Also, what's the format of the image you're trying to load?

Paul.

Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 26th Jun 2010 14:25 Edited at: 26th Jun 2010 14:29
The image:
its a relative path, my system specs are 8600GTS, Q6600, 2GB Ram, 2.5TB HDD..

I'll email you the source code

Edit:
Email'd

Keep it simple.
Questions? Mail me
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 27th Jun 2010 01:58
New test:

creating a new project and copying the class into that makes the error go away

Keep it simple.
Questions? Mail me
Yoda Master
16
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: Genova
Posted: 6th Aug 2010 16:45
Did you resolve this issue?

ByteStorms
Bytes from incoming years
www.bytestorms.com
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 12th Aug 2010 21:14
Are you also experiencing this problem?

Paul.

Yoda Master
16
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: Genova
Posted: 13th Aug 2010 15:04
Fortunately not,

But I guess he forgot to call InitializeGDK() method!

I've never had trouble dealing with lights.

Matteo

ByteStorms
Bytes from incoming years
www.bytestorms.com

Login to post a reply

Server time is: 2024-04-26 07:48:35
Your offset time is: 2024-04-26 07:48:35