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

Messages - san14

#46
Support / Swings with JPCT
February 22, 2007, 11:03:55 AM
Hi
  I am trying to add button on JPCTDemo.jave example. Could any one tell if it is possible to add Jpct with Swings Components( Fram, Panel, Layouts...)
#47
Support / Requirement For 3ds To get Texture
February 14, 2007, 11:17:49 AM
Sorry for that !!

I have put my 3ds object in same 3ds folder as same as jpct example. and changed the name of 3ds as  under in the code. But it is giving error.


Image Path:-
D:\F-Drive-Back-Up\workspace\Jpct\3ds\san.3ds

Change In Code:-
Object3D[] levelParts=Loader.load3DS("3ds"+c+"san.3ds",10f);



ERROR:-
Loading file 3ds\ \san.3ds
[Sat Feb 10 23:39:58 IST 2007 ] - ERROR: Couldn't read file 3ds\ san.3ds
[ Sat Feb 10 23:39:58 IST 2007 ] - ERROR: Not a valid 3DS file!
Created 0 triangle-strips for object3 in 1 pass(es)
Building octree for 0 triangles!
Octree constructed with 1 nodes / 0 leafs.



I am also trying to get camera coordinates. Which I am geting it through method camera.getPosition();
But I need to  make .XML of the camera positions(x,yz) I need to get those data in Vector. I am geting repeted values. can you suggest me for same. I am using same JPCTDemo.java If you need i will send entire code with  my 3ds and changes  for creating XML using JDom 3ds.


With Regards

San14
#48
Support / Requirement For 3ds To get Texture
February 13, 2007, 06:44:29 AM

Maybe you can post the call to the loader?


I have seen the paths, But still not coming could you plz tell me how do I post call to loader.

With Regards
San14
#49
Support / Requirement For 3ds To get Texture
February 11, 2007, 06:50:39 AM
Hi EgonOlsen
 
   Thanks a lot. I have one more problem When i am loading one san.3ds object to the example JPCTDemo.java it gives me this error message. Can you tell suggest me why is it so.

Loading Texture...textures\ql9.jpg
Loading file 3ds\jyu00.3ds
File 3ds\jyu00.3ds loaded...4204 bytes
Processing new material DEFAULT!
Processing object from 3DS-file: DEFAULT  
Object 'DEFAULT   _jPCT0' created using 205 polygons and 163 vertices.
Loading file 3ds\ \san.3ds
[ Sat Feb 10 23:39:58 IST 2007 ] - ERROR: Couldn't read file 3ds\ \san.3ds
[ Sat Feb 10 23:39:58 IST 2007 ] - ERROR: Not a valid 3DS file!
Created 0 triangle-strips for object3 in 1 pass(es)
Building octree for 0 triangles!
Octree constructed with 1 nodes / 0 leafs.


With Regarda
San14
#50
Support / Requirement For 3ds To get Texture
February 09, 2007, 11:29:31 AM
Hi every one I would like to know, what are the things, to take care in creating 3ds object. So that it can take texture like that in example JPCTDemo.java . Is it some particular kind of wall to be created? So that it can take texture at the inner wall.

Can I give different texture to different object in an environment? Can any on help me with small example.

I tried to load .3ds object in HelloWorld.jave I could do so but all objects in environment had same color. Can I put texture to different objects in same environment? How do I do it  some one could help me with small example for it?



With Regards
San
#51
Support / 3ds max tips
February 09, 2007, 11:12:41 AM
I would like to know. The way you load .3ds object in JPCTDemo.java Is it possible to load .max file in similar way. If so could you help me with some example.
#52
Support / Texture Mapping
February 08, 2007, 12:16:20 PM
Quote from: "manumoi"Hello,

Is it possible that your textures are just applied on the wrong side of your model (displayed "inside" the xWing instead of outside). I had such a problem one time but it was just because i created my own model using the JPCT primitives... Not sure if it can be reproduced with 3ds file... that s just a guess...

Manu

Hi
I am also facing similar kind of problem, could you let me know how to i change the side...of texture. I am also not geting texture to my wall of 3ds.
#53
Support / HelloWorld Error
February 02, 2007, 11:07:52 AM
Thanx A lot your suggestion worked. I am able to see HelloWorld...
#54
Support / Re: HelloWorld Error
January 31, 2007, 12:18:18 PM
Quote from: san14HI When I am Runing HelloWorld example I am geting this error and it s not able to compile. I kept lwjgl.jar in Java/jre/lib/ext and lib too but its giving error. I am able to runn JPCTDemo Demo on same editio I am using eclipse 3.2. Can you help me out

With Regards
San14

Java version is: 1.5.0_08
-> support for BufferedImage
-> using BufferedImage
Software renderer (OpenGL mode) initialized
Software renderer disposed
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
at org.lwjgl.Sys.loadLibrary(Sys.java:84)
at org.lwjgl.Sys.<clinit>(Sys.java:101)
at org.lwjgl.opengl.Display.<clinit>(Display.java:108)
at com.threed.jpct.GLHelper.findMode(Unknown Source)
at com.threed.jpct.GLHelper.init(Unknown Source)
at com.threed.jpct.GLRenderer.init(Unknown Source)
at com.threed.jpct.FrameBuffer.enableRenderer(Unknown Source)
at com.threed.jpct.FrameBuffer.enableRenderer(Unknown Source)
at com.threed.jpct.FrameBuffer.enableRenderer(Unknown Source)
at HelloWorld2.doStuff(HelloWorld2.java:19)
at HelloWorld2.main(HelloWorld2.java:9)


#55
Support / HelloWorld Error
January 31, 2007, 08:54:54 AM
HI When I am Runing HelloWorld example I am geting this error and it s not able to compile. I have kept lwjgl.jar in Java/jre/lib/ext and lib too but its giving error. I am able to runn JPCTDemo Demo on same editio I am using eclips 3.2. Can you help me out

With Regards
San14

Java version is: 1.5.0_08
-> support for BufferedImage
-> using BufferedImage
Software renderer (OpenGL mode) initialized
Software renderer disposed
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
at org.lwjgl.Sys.loadLibrary(Sys.java:84)
at org.lwjgl.Sys.<clinit>(Sys.java:101)
at org.lwjgl.opengl.Display.<clinit>(Display.java:108)
at com.threed.jpct.GLHelper.findMode(Unknown Source)
at com.threed.jpct.GLHelper.init(Unknown Source)
at com.threed.jpct.GLRenderer.init(Unknown Source)
at com.threed.jpct.FrameBuffer.enableRenderer(Unknown Source)
at com.threed.jpct.FrameBuffer.enableRenderer(Unknown Source)
at com.threed.jpct.FrameBuffer.enableRenderer(Unknown Source)
at HelloWorld2.doStuff(HelloWorld2.java:19)
at HelloWorld2.main(HelloWorld2.java:9)


[/quote]
#56
Support / Fresher to JPCT
January 29, 2007, 11:41:40 AM
Thanks for your suggesion. I will try to go through HeloWorld example. But if scaling part is done in this example. Then it would be of great help to me. As it si doing every part what is required.

>>Not all models are located around (0,0,0).
Is there any means to find the loaction of 3ds object  (0,0,0).
#57
Support / doubt
January 28, 2007, 08:06:27 AM
hi
>>did not work" is a bit too vague...what exactly was the problem?
Problem was i could see black screen but could see the weapon.3ds. Sure i will try for different scaling
Object3D[] levelParts=Loader.load3DS("3ds"+c+"ksr00.3ds", 5f); Do this fragment has soming to do with scaling. if so I tried ("3ds"+c+"ksr00.3ds", 30f) to 1f.

Can i laoad .obj object instade of .3Ds

With Regards
#58
Support / Start off With JPCT
January 27, 2007, 08:55:12 AM
HI
 I am new to JPCT can any one give me some small examples like HelloWorld.java kind. Which could help me under stand as a beginer..

With Regards
#59
Support / Small Examles Required
January 27, 2007, 08:24:33 AM
Hi friends I am new to JPCT, in need  some small examples could some one help me with such examples. I saw HelloWorld example.  some things similar to those type.

With Regards
San14
#60
Support / Fresher to JPCT
January 27, 2007, 06:59:56 AM
Hi I am fresher to JCPT. I have some silly questions.
I saw JPCT example at http://www.jpct.net/download.html . my question is, can i change ql.3ds to any other .3ds object in same example . Infect i tried with other may other examples of 3ds.. but it did not work.


With Thanks
San14