Search found 15 matches

by Icare
Wed Dec 03, 2008 1:59 pm
Forum: Beginners Help
Topic: 3D Line bounding box
Replies: 12
Views: 1284

Hum, maybe i have not posted the last version (because i didnt check and run the code before post it). I will check.
by Icare
Tue Dec 02, 2008 5:51 pm
Forum: Beginners Help
Topic: 3D Line bounding box
Replies: 12
Views: 1284

Well, it was a long time ago, but i forgot to post my face selection to you.
So as a thank you for everyone (and a special thank you to rogerborg), here my face selection node :


/!*
*\date : SEPTEMBER 2008
*\brief : a face scene node with selection from mouse
**/

#include <irrlicht.h>
#include ...
by Icare
Tue Aug 26, 2008 6:06 am
Forum: Beginners Help
Topic: 3D Line bounding box
Replies: 12
Views: 1284

I come back with my selection problem :
So i'm trying to create a 3d modeler (something like wings 3d).
I have several custom scene node :
- 1 flat custom scene node per face
- 1 3d line per edge
- 1 square billboard per vertex

The selection of the vertex billboard is working well.

The selection ...
by Icare
Tue Aug 19, 2008 2:03 am
Forum: Beginners Help
Topic: 3D Line bounding box
Replies: 12
Views: 1284


Using Irrlicht's built in collision-detection? That only supports axis aligned bounding boxes, which won't work well for selecting a line.


Yes i am using IrrLicht bounding box collision detection. I am trying to select 3dline, representing edges of some mesh.
I didn't know that irrlicht only ...
by Icare
Mon Aug 18, 2008 6:39 am
Forum: Beginners Help
Topic: 3D Line bounding box
Replies: 12
Views: 1284

Actually i want to create a bigger bounding box, like a cylinder or a big cube around the line. So the user can select the line even if the mouse cursor is not exactly on the 3d line !
by Icare
Mon Aug 18, 2008 3:28 am
Forum: Beginners Help
Topic: 3D Line bounding box
Replies: 12
Views: 1284

3D Line bounding box

Hi there,
I am trying to create a Bounding box of a 3d line, but without working solution.

I have also tried to find the coordinates of the box from coordinates of the two first points (non linear system of equation, a bit hard).

There is any functions or available source code for that ?

Thanks a ...
by Icare
Fri Aug 15, 2008 8:58 am
Forum: Advanced Help
Topic: 3D Line bounding box
Replies: 0
Views: 120

3D Line bounding box

Hi,
I am trying to create some bounding box of 3d lines (so define by two points coordinates).
Is there already some source code of functions within irrlicht to create that ?

I have also tried to solve the non linear system of equations defined by the equation the two upper point of the left face ...
by Icare
Wed Aug 06, 2008 2:40 am
Forum: Beginners Help
Topic: Mesh instancing (kinda)[ANSWERED]
Replies: 3
Views: 270

Or you can just clear the cache and reload the mesh.
by Icare
Mon Aug 04, 2008 10:22 am
Forum: Open Discussion and Dev Announcements
Topic: Game console
Replies: 1
Views: 1046

Game console

In some games, you can open the game console by using a special key (the key next the key 1, main times).

Does the developers just print the std::cout on this 'console', or they create their own string buffer ?

If they use the std::cout, how to redirect or print it in a staticText of the Irrlicht ...
by Icare
Fri Aug 01, 2008 2:46 am
Forum: Beginners Help
Topic: shadows on mesh faces
Replies: 8
Views: 491

I found that maybe my problem come from the left hand x, y, z axis in irrlicht doesn't corresponding to the right han x, y, z axis of my mesh...

Can i change the x, y, z axis of irrlicht to a right hand one ?

Thanks (i hope you will understand the left, right hand story, actually i don't know how ...
by Icare
Thu Jul 31, 2008 10:40 am
Forum: Beginners Help
Topic: shadows on mesh faces
Replies: 8
Views: 491

Just a little last point :

These normals are wrong, no ?

Image
by Icare
Thu Jul 31, 2008 8:56 am
Forum: Beginners Help
Topic: shadows on mesh faces
Replies: 8
Views: 491

Its working great when i recalculate the normals with the mesh manipulator !

thanks a lot !

Code: Select all

t_pSceneMngr->getMeshManipulator()->recalculateNormals(MyObject);
by Icare
Thu Jul 31, 2008 8:35 am
Forum: Beginners Help
Topic: shadows on mesh faces
Replies: 8
Views: 491

Well, i have tested all the Material Type, no one works.

About the normals, i have no any normals in my obj file (only vertices and faces). So I will try to use the mesh manipulator to recalculate the normals.
by Icare
Thu Jul 31, 2008 8:14 am
Forum: Beginners Help
Topic: shadows on mesh faces
Replies: 8
Views: 491

shadows on mesh faces

Hi there,

I am trying to load a mesh object (so an obj file) into irrlicht.
When i load for example a cylinder, i cannot view different color for the faces.
All faces have the same gray, whatever i am doing, like moving the light, etc.

I have this :

http://pix.nofrag.com/8/f/a ...
by Icare
Fri Jul 04, 2008 6:44 am
Forum: Advanced Help
Topic: Irrlicht and OpenMesh?
Replies: 8
Views: 1956

I'm also trying to link OpenMesh and Irrlicht.
The problem is that OpenMesh and Irrlicht can only read / write mesh from a file and never from a buffer (maybe i am wrong).

So maybe i need to write my own Irrlicht class to load mesh, not from a file, but from a buffer.

There is any other solution ...