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 - 3DLover

#1
Support / side-by-side 3D model Viewer and Comparator
November 30, 2015, 07:23:42 PM
Hey friends,

I am a new user of JPCT. I had a topic some month later:
http://www.jpct.net/forum2/index.php/topic,4379.msg30466.html#msg30466

in that topic, I was going to develop a "side-by-side 3D model viewer". (please see the attached image); two models should be placed side-by-side and I want those similar models rotate simultaneously around their axis As I drag the mouse to left or right.

Now I need to know how to start. I have developed a simple 3d model viewer thanks to JPCT and helps of Dear EgonOlsen.

But I do not have enough knowledge to continue the project. for example based on the recommendation of EgonOlsen I tried to understand blitting (topic mentioned above), but I couldn"t understand what does that function really do and what's the relation to side by side viewing the models!!:(

Please help me.
thanks.
#2
Hi guys,

in the first steps of coding a Java program which uses JPCT, I encounter this error, could you help me please?
machine: Laptop Sony VAIO VGN-FW 190
Display Adapter: Mobile Intel(R) 45 Express Chipset family (Microsoft Corporation WDDM 1.1)
my graphics drivers are up to date.
I am waiting for help of one of JPCT forum users and maybe changing the current IDE from Netbeans to Eclipse. but I do not think this error depends on the current IDE I am using.
============
run:
Loading Texture...box.jpg
[ Thu May 14 13:59:44 IRDT 2015 ] - ERROR: File 'box.jpg' not found - replacement texture used instead!
Java version is: 1.8.0_25
-> support for BufferedImage
Version helper for 1.5+ initialized!
-> using BufferedImage
Software renderer (OpenGL mode) initialized
Software renderer disposed
Current mode:800 x 600 x 32 @59Hz
[ Thu May 14 13:59:44 IRDT 2015 ] - WARNING: ZBuffer depth of 24 not supported - trying something else now...!
[ Thu May 14 13:59:44 IRDT 2015 ] - WARNING: Does this machine actually support OpenGL? Trying everything at lowest settings now!
Driver is unknown!
[ Thu May 14 13:59:44 IRDT 2015 ] - ERROR: Unable to set any valid videomode on this machine!
[ Thu May 14 13:59:44 IRDT 2015 ] - ERROR: Can't set videomode - try different settings!
org.lwjgl.LWJGLException: Pixel format not accelerated
   at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
   at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
   at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:247)
   at org.lwjgl.opengl.Display.createWindow(Display.java:306)
   at org.lwjgl.opengl.Display.create(Display.java:848)
   at org.lwjgl.opengl.Display.create(Display.java:757)
   at com.threed.jpct.GLHelper.init(GLHelper.java:208)
   at com.threed.jpct.GLRenderer.init(GLRenderer.java:24)
   at com.threed.jpct.FrameBuffer.enableRenderer(FrameBuffer.java:1134)
   at com.threed.jpct.FrameBuffer.enableRenderer(FrameBuffer.java:753)
   at com.threed.jpct.FrameBuffer.enableRenderer(FrameBuffer.java:700)
   at Reza.main(Reza.java:29)
BUILD SUCCESSFUL (total time: 5 seconds)
#3
Hi guys,
I am new to JAVA but have done programming and coding in VB and c#.
I want to create a simple windows-based application for loading, viewing and rotating 3d models with textures.
How should I do that using JPCT?
I have downloaded and installed JDK and Netbeans. how should I start? the Netbeans environment is very different from VB environment. moreover the JPCT wiki has some explanations that I don't understand. for example:

"The 3D engine itself is one jar only (jpct.jar). It can be found in the distribution's lib-directory. Just include that jar into your classpath and you are ready to compile and/or run jPCT applications."
what is classpath?

please give me a clue to start.
Many thanks
Reza