Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - D4NM4N

#1
Support / Access to surfaces?
February 11, 2011, 10:59:49 AM
If i export a mesh with 2 different surfaces (eg a cube with the ends textured with a different texture) how do i texture the separate bits?
#2
Support / Hello world without envmap?
February 06, 2011, 11:01:20 PM
I cannot seem to get settexture working without an environment map :S
Using the hello world example, if i turn off (comment out) the environment map line all i get is a grey cube.
Are there any examples anywhere of texturing?
#3
Support / Some object manipulation funcs needed.
January 27, 2011, 11:53:06 PM
Hi,

I would be soo grateful if someone can help me out with this.


Being totally useless with maths (I have no idea how mat4 works) I want to write a small wrapper some manipulation commands for converting some code.

Basically the engine I was using was Blitz3D. (I use irrlicht a bit too, but I managed to make some funcs for that)
I have extended Object3D and wish to create the following:


PositionEntity(float x, float y, float z) //or vector
{
     //Sets the position of the object. (using world coords)
     // is setOrigin(new SimpleVextor(xyz)); what i want?
}

MoveEntity(float x, float y, float z) //or vector
{
     //moves the object in xyz from it's current position in relation to it's rotation.(using world coords)
}

TranslateEntity(float x, float y, float z) //or vector
{
     //Similar to moveentity but moves the object from its current position but using a 0,0,0 rotation.
     // does the existing translate do this?
}

TurnEntity(float x, float y, float z) //or vector
{
     //turns the object in xyz at it's current position in relation to it's current rotation. (using world coords)
      //At the moment i am using rotateX() which seems to be doing it, is this the best way?
}

RotateEntity(float x, float y, float z) //or vector
{
     //Sets the rotation of the object. (using world coords)
 
}




The other thing i cannot work out is why is the getXaxis() etc returning vectors? I was expecting to see a float. The other thing is the camera and lights seem to have setRotation and setPosition, but object3d does't :S

I think if i can get these 5 methods working i will be well on my way.
#4
Support / How to parent lights and cameras?
January 21, 2011, 09:48:48 PM
As they are not 3D objects, and there seems to be no pivot (meshless) 3d object to manually position/orient it to per update, so how can i make a camera or light behave as any other 3d object?  
#5
Support / Noob: Cannot get OGL hello world to run :/
January 11, 2011, 11:56:16 PM
Hi everyone, new here  ;D

I have been playing around with the examples but cannot seem to get the OGL versions working. (SW versions work ok)

I get a grey screen with:

"WARNING: displayGLOnly() shouldn't be called without OpenGL support being (solely) used"

in the output.

I am using Ubuntu and I have an intel card HWRendering yes and ogl v1.4 in glx info. Is this enough or is it 2.0+ only?