Search found 41 matches

by cegprakash
Sat Oct 04, 2014 11:12 pm
Forum: Beginners Help
Topic: Unable to open mesh in Windows - Visual Studio
Replies: 2
Views: 487

Re: Unable to open mesh in Windows - Visual Studio

Adding the mesh file to visual studio project's resource files caused that corrupt issue.

Removing it solved the issue.
by cegprakash
Sat Oct 04, 2014 5:31 am
Forum: Beginners Help
Topic: Unable to open mesh in Windows - Visual Studio
Replies: 2
Views: 487

Unable to open mesh in Windows - Visual Studio

I tried downloading various meshes online.

Whenever I try getMesh() with any obj model, it says the file is corrupt.
For other types like .mesh, .3ds, it says unable to load mesh.
by cegprakash
Fri Oct 03, 2014 12:17 pm
Forum: Beginners Help
Topic: Irrlicht.dll is missing from your computer...
Replies: 2
Views: 3734

Re: Irrlicht.dll is missing from your computer...

Irrlicht.dll file should be in both "Release" and "Debug" folder
by cegprakash
Wed Sep 03, 2014 8:12 am
Forum: Beginners Help
Topic: Touch device camera pinch zoom, pan and rotate
Replies: 12
Views: 2416

Re: Touch device camera pinch zoom, pan and rotate

Rotate around the target!
by cegprakash
Thu Aug 28, 2014 10:48 am
Forum: Beginners Help
Topic: Touch device camera pinch zoom, pan and rotate
Replies: 12
Views: 2416

Re: Touch device camera pinch zoom, pan and rotate

Only problem I have now is swipe. vector3df   cameraAngle, cameraTarget; float cameraRadius;   void updateCamera() {     vector3df newCameraPosition;     newCameraPosition.Y = cameraTarget.Y + cameraRadius * sin(cameraAngle.Y * 3.1415 / 180.0f);     newCameraPosition.X = cameraTarget.X + cameraRadiu...
by cegprakash
Mon Aug 25, 2014 1:07 pm
Forum: Beginners Help
Topic: Touch device camera pinch zoom, pan and rotate
Replies: 12
Views: 2416

Re: Touch device camera pinch zoom, pan and rotate

There are problems with rotation.

Also zoom should be startDist / endDist
by cegprakash
Fri Aug 08, 2014 9:00 am
Forum: Beginners Help
Topic: Touch device camera pinch zoom, pan and rotate
Replies: 12
Views: 2416

Re: Touch device camera pinch zoom, pan and rotate

Yeah. Thank you so much.. I'll test it and let you know how it behaves :)
by cegprakash
Fri Aug 08, 2014 7:22 am
Forum: Beginners Help
Topic: Animations using frames?
Replies: 3
Views: 460

Re: Animations using frames?

why do you think it's a bad idea?
by cegprakash
Fri Aug 08, 2014 7:00 am
Forum: Beginners Help
Topic: Touch device camera pinch zoom, pan and rotate
Replies: 12
Views: 2416

Re: Touch device camera pinch zoom, pan and rotate

I've done the swipe action as moving the camera around the target in a fixed radius(spherical movement). Zooming in or out should decrease/increase the radius. Pan should move the target and rotation should rotate the camera. Swipe is a 1 touch event and Zoom, Pan and Rotate are two touch events. It...
by cegprakash
Thu Aug 07, 2014 1:19 pm
Forum: Beginners Help
Topic: Touch device camera pinch zoom, pan and rotate
Replies: 12
Views: 2416

Re: Touch device camera pinch zoom, pan and rotate

The trouble is I've to update the viewCamera's position, rotation and Target position in 3D to apply Pan, Zoom and Rotation simultaneously.
by cegprakash
Thu Aug 07, 2014 8:03 am
Forum: Beginners Help
Topic: Touch device camera pinch zoom, pan and rotate
Replies: 12
Views: 2416

Touch device camera pinch zoom, pan and rotate

I'm working on a multi-touch device where user can adjust the camera by two touches. I want to implement PinchZoom, Pan and Rotate when the user makes two touches on the screen. I've four 2D points touch1.start, touch1.end, touch2.start and touch2.end. I can identify the zoom action by finding wheth...
by cegprakash
Mon Jul 21, 2014 12:17 pm
Forum: Beginners Help
Topic: [SOLVED] Rendering in X-Ray mode
Replies: 11
Views: 1236

Re: [SOLVED] Rendering in XRay mode

Thank you :)
by cegprakash
Sun Jul 20, 2014 8:35 pm
Forum: Beginners Help
Topic: [SOLVED] Rendering in X-Ray mode
Replies: 11
Views: 1236

Re: Rendering in XRay mode

It's true that it's possible by RTT using shaders. Rendering only the front nodes (by making setVisible(false) for all other nodes) can act as a texture. I'm looking for easier/efficient ways.
by cegprakash
Sun Jul 20, 2014 2:09 pm
Forum: Beginners Help
Topic: [SOLVED] Rendering in X-Ray mode
Replies: 11
Views: 1236

Re: Rendering in XRay mode

I want some particular nodes to appear in front of all other nodes. All the nodes are in the same sceneManager.
by cegprakash
Sun Jul 20, 2014 8:54 am
Forum: Beginners Help
Topic: [SOLVED] Rendering in X-Ray mode
Replies: 11
Views: 1236

Re: Rendering in XRay mode

FlyingSauce is right.. How to disable z buffer? Is it possible to revert it back?