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 / Texture object command not working

Author
Message
pictionaryjr
17
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 1st Apr 2011 21:58 Edited at: 1st Apr 2011 22:01
I've created an object and i'm trying to texture it. I've loaded the image correctly. Created the object correctly, but the texture is coming up black on my object. I don't understand why.

EDIT:
Just an offside remark. I'm using newtons and it seems to work when i'm not using newtons, is there any texture commands in newton i should know about?

pictionaryjr
17
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 2nd Apr 2011 00:49 Edited at: 2nd Apr 2011 00:53
alright. this is blowing my mind. I cannot figure out what is going on with these object. I'm positive it has a relation to newton, because it all works without newton, but with it. it goes haywire.

edit:
this is a video. showing my problem
DBP Mystery

BMacZero
20
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 2nd Apr 2011 01:01
You should post a short bit of code that shows the problem. I don't think Newton is it, I've used textured object with Newton often.

pictionaryjr
17
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 2nd Apr 2011 01:10 Edited at: 2nd Apr 2011 08:11
Ok. I can't understand it then, because without newton it works. Here's some code:


Here's where I'm naming the variables for the images and what not:


EDIT:
fixed it on the objects, they weren't loaded from blender right

Login to post a reply

Server time is: 2026-07-11 14:56:24
Your offset time is: 2026-07-11 14:56:24