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 / [LOCKED] Ask a function

Author
Message
lidongheng
13
Years of Service
User Offline
Joined: 10th Jan 2011
Location:
Posted: 15th Jan 2011 22:13
I find a function that I find in the sourcecode that is set matrix
normal I don't know How to use the function first I'm look it is
set matrix normal x,y,1.0,1.0,1.0 I read the help file that just it
is a position but I change it as set matrix normal x,y,4.0,4.0,4.0
something was not happend now I delete this statement something
was not happend too please tell me the concept of this function

lidongheng
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 16th Jan 2011 11:40
The 'normal' is to do with the way light affects each part of the matrix.
What is it you are trying to do and we might be able to help?

lidongheng
13
Years of Service
User Offline
Joined: 10th Jan 2011
Location:
Posted: 16th Jan 2011 16:17
did somebody can give me a sample I can truly understand to use this function

lidongheng
Fatal Berserker
14
Years of Service
User Offline
Joined: 2nd Jul 2010
Location:
Posted: 18th Jan 2011 15:12
your speaking in broken English.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 18th Jan 2011 15:35
i can't hide that i laugh when i read that, too complex

as matty halewood said, tell us more about what you want to do, also, 'set matrix normal' looks more like a DarkBASIC function, why positing this in GDK board, are you even using GDK?

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 18th Jan 2011 16:50
Quote: "'set matrix normal' looks more like a DarkBASIC function"


Oh yeah, I never even noticed that.
How are you doing with your engine Hassan? You used to have a link in your sig, anyway we can view your progress now? If not, no problem, good luck with it.

Quote: "can give me a sample I can truly understand to use this function"



This will set the normal pointing straight up I think. It seems strange that you want to learn what a function does so you can use it, usualy people have a problem or need some desired behaviour and then ask what function or set of functions they need to use, not the other way around.

Anyway hope this helps, you may need to go and read up on what normals are if you are not sure.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 18th Jan 2011 19:45 Edited at: 18th Jan 2011 20:52
Quote: "How are you doing with your engine Hassan? You used to have a link in your sig, anyway we can view your progress now? If not, no problem, good luck with it."

It's going very very well, working on a level editor and it's all going great, i might update the signature soon and add a link to the progress

BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 19th Jan 2011 15:26
Stop posting the same question in multiple boards.

If you are using Dark Basic, post in the Dark Basic Board.


Login to post a reply

Server time is: 2024-11-19 14:31:42
Your offset time is: 2024-11-19 14:31:42