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.


Topics - Pignic

Pages: [1]
1
Support / Export Object3D into a .obj file
« on: September 12, 2014, 05:50:37 pm »
Hi,

Is it possile to create a .obj file and write some Object3D in it ?

Thanks.

2
Support / Applet Render Hardware Windows vs Mac
« on: July 10, 2014, 09:49:03 am »
Hi,

I’ve created an Applet using JPCT. This work well on Windows but I have some troubles with Mac.
When I'm using Windows, I’ve got this:



And on Mac, I’ve got this:



But on the initialization of the applet, I've got a white screen (normal) and then this :



Before that the canvas appear and the menu goes black...

I have this since the beginning of the project (2 years) and I don’t have any clues on how to solve it.

I see briefly the swing part but it disappears when the canvas appear. I can continue to use the buttons in the menu and the cursor change well when i go in/out the canvas.

What can I post to you to help me with this ?

Best regards,
Nicolas

3
Support / Lighting problem on 2 Object3D side by side
« on: November 15, 2012, 10:40:55 am »
Hello,

I have a strange light effect when I place two objects side by side as in this image :



My light source :
Code: [Select]
final Light sun = new Light(world);
sun.setIntensity(50, 55, 60);
sun.setDiscardDistance(3000);
sun.setPosition(new SimpleVector(500, 500, 2700));

My config of lights :
Code: [Select]
Config.lightMul = 1;
Config.fadeoutLight = false;
world.getLights().setRGBScale(Lights.RGB_SCALE_2X);
world.setAmbientLight(131, 138, 154);
world.getLights().setOverbrightLighting(Lights.OVERBRIGHT_LIGHTING_DISABLED);

What I put on all the objects to have a lighting effetc :
Code: [Select]
wall.build();
wall.setSpecularLighting(true);
wall.setLighting(Object3D.LIGHTING_ALL_ENABLED);

On this image, there are 6 objects : 3 angles and 3 walls.

Can anyone help me or tell me if I forgot some parameters ?

Thanks and best regards.

4
Support / Generate a plan from model
« on: October 31, 2012, 05:43:47 pm »
Hi,
I am looking for a simple way to get a shape that represent a plain slice of a model.
For example : if I have the walls of a house, I want to be able to get the ground inside the house as a model.
Are those kinds of uses are native in jpct? or will I explode my brain on tons of big algorythm ?

Thanks and best regards,

Nicolas.

Pages: [1]