Search found 25 matches

by dude3d
Sat Aug 30, 2008 2:35 am
Forum: Advanced Help
Topic: Irrlicht in ActiveX plugin?
Replies: 5
Views: 998

You need pass the window handler of your activeX control to Irrlicht when creating a device.
by dude3d
Mon Mar 17, 2008 9:10 pm
Forum: Everything 2d/3d Graphics
Topic: Learning and practicing in 3DS...
Replies: 42
Views: 9385

Amazing models. Can you post textures that are used by these models also?
by dude3d
Fri Feb 22, 2008 6:57 pm
Forum: Advanced Help
Topic: Crashed when reading Java zipped or jarred files
Replies: 6
Views: 531

Will do it when I have some bandwidth.
by dude3d
Wed Feb 20, 2008 5:05 pm
Forum: Advanced Help
Topic: Crashed when reading Java zipped or jarred files
Replies: 6
Views: 531

Thank you FuzzYspo0N. But I suspect that won't work because I tried to change the bit flag to 0 through vc++ debugger and the problem still existed. I think Java somehow messed up the header of the zip file. To bypass this problem, I've changed to call OS zip commands at the Java side to create the ...
by dude3d
Tue Feb 19, 2008 6:15 am
Forum: Advanced Help
Topic: Crashed when reading Java zipped or jarred files
Replies: 6
Views: 531

Thank you for the reply mate! But the document in Irrlicht does not agree with what you said: //! Opens a file for read access. /** \param filename: Name of file to open. \return Returns a pointer to the created file interface. The returned pointer should be dropped when no longer needed. See IRefer...
by dude3d
Tue Feb 19, 2008 12:00 am
Forum: Advanced Help
Topic: Crashed when reading Java zipped or jarred files
Replies: 6
Views: 531

Crashed when reading Java zipped or jarred files

Hi all, My project requires to use Irrlicht read Java zipped or jarred files. I tried to add them to the file system cache by using device->getFileSystem()->addZipFileArchive(...) then read them with device->getFileSystem()->createAndOpenFile(...) Each time Irrlicht crashed. But the wired thing is t...
by dude3d
Wed Dec 19, 2007 5:28 am
Forum: Code Snippets
Topic: UBrowser and Irrlicht Integration
Replies: 14
Views: 6234

by dude3d
Wed Dec 19, 2007 5:25 am
Forum: Code Snippets
Topic: UBrowser and Irrlicht Integration
Replies: 14
Views: 6234

by dude3d
Wed Dec 19, 2007 5:08 am
Forum: Code Snippets
Topic: UBrowser and Irrlicht Integration
Replies: 14
Views: 6234

Damn. Google blocked my email saying that the zip contains executable files, the DLLs.
by dude3d
Wed Dec 19, 2007 5:02 am
Forum: Code Snippets
Topic: UBrowser and Irrlicht Integration
Replies: 14
Views: 6234

Bob, check your email. I just sent the zip to you.
by dude3d
Fri Dec 14, 2007 9:17 pm
Forum: Code Snippets
Topic: UBrowser and Irrlicht Integration
Replies: 14
Views: 6234

I have the lib/h, dll and etc for vsc++ 2005. How do you want to get it? I can email it to you if you like.
by dude3d
Fri Nov 30, 2007 8:33 am
Forum: Advanced Help
Topic: equals() method in irrMath.h
Replies: 3
Views: 302

equals() method in irrMath.h

For the following function //! returns if a float equals the other one, taking floating //! point rounding errors into account inline bool equals(const f32 a, const f32 b, const f32 tolerance = ROUNDING_ERROR_32) { return (a + tolerance > b) && (a - tolerance < b); } when a = 600.0, b = 600....
by dude3d
Thu Nov 29, 2007 7:46 am
Forum: Advanced Help
Topic: How to know which surface of a cube has been clicked on?
Replies: 6
Views: 936

Thank you guys for these quick replies. What I did was to combine your suggestions together: 1) find the triangle that the mouse clicks on by casting a ray from the mouse 's 2D screen coordinate using collisionManager->getCollisionPoint() method. 2) Using the same ray to get which scene node has bee...
by dude3d
Wed Nov 28, 2007 8:05 am
Forum: Advanced Help
Topic: How to know which surface of a cube has been clicked on?
Replies: 6
Views: 936

How to know which surface of a cube has been clicked on?

Hi all, I need to let the user to customize a cube's textures. A typical scenario is as the following: 1) My system renders a cube with default textures for the cube's six surfaces. 2) The user clicks on a surfaces. 3) A pop-up menu appears and let the user to choose a local texture file. 4) My syst...
by dude3d
Fri Nov 09, 2007 8:48 pm
Forum: Advanced Help
Topic: A Bug When vector3d is used with irrArray
Replies: 6
Views: 548

Hi Saturn, Thank you for the reply. But I can not agree with you because in binary_search() method, sort() is called first and then binary_search_const() is called. So the set is sorted when binary_search_const() is called. Even so the search still fails due to the problem that I listed in my origin...