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.


Messages - dear_stephen

Pages: 1 [2] 3
16
Support / Re: Shinnyness
« on: May 23, 2007, 05:03:45 pm »
I got what I was after by moving the light further away and lightening its color.

cheers!

17
Support / Re: Shinnyness
« on: May 23, 2007, 04:52:40 pm »
Hi

Thanks for the responce. I tried it out and did see a difference.

Unfortunatly it is not quite what I am after. I am trying to create a wood material and would like to reduce the shinyness so that the object appears more mat. i.e. unpollished wood


Stephen

18
Support / Shinnyness
« on: May 23, 2007, 12:36:46 pm »
Is it possible to set how shiny an object is?

cheers,
Stephen

19
Bugs / Re: JRE 1.1
« on: May 14, 2007, 11:08:19 am »
Yippie!

It all seems to be working supa dupa!

Thanks very much!


tooteloo,
Stephen

20
Bugs / Re: JRE 1.1
« on: May 11, 2007, 02:20:52 pm »
It got past that error but has reached the next one  :(

java.lang.NoSuchMethodError: java/util/Vector: method add(Ljava/lang/Object;)Z not found
   at com/threed/jpct/VisListManager.getVisList
   at com/threed/jpct/World.renderScene
   at com/algodes/jpct/JPCTApplet.mainLoop
   at com/algodes/jpct/JPCTApplet.run
   at java/lang/Thread.run

cheers,
Stephen

21
Bugs / Re: JRE 1.1
« on: May 09, 2007, 04:41:54 pm »
It didn't work  :( I got the same error. try something like...

Code: [Select]
            Color RED = new Color(255, 0, 0, 100);
            Class c = RED.getClass();
            try {
              Method method = c.getMethod("getAlpha", new Class[] {});
              System.out.println("alpha: "+method.invoke(RED, null));
            } catch (Exception e) {
              System.out.println("Could not getAlpha");
            }


otherwise you could send me the source and I'll do it  ;)  ;)  ;)


22
Bugs / JRE 1.1
« on: May 08, 2007, 11:19:40 am »
I have just tested my applet on the microsoft jre 1.1 and I get the following error message...
Code: [Select]
java.lang.NoSuchMethodError: java/awt/Color: method getAlpha()I not found
at com/threed/jpct/FrameBuffer.clear
at com/algodes/jpct/JPCTApplet.init
at com/algodes/jpct/Earth.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run


It seems that an incompatible function has slipped in.

Is this a bug? Is there a work around?

thanks,
Stephen


23
Support / Re: Image without lighting
« on: March 29, 2007, 10:59:28 am »
Thanks! That worked great!

24
Support / Image without lighting
« on: March 28, 2007, 03:44:25 pm »
Hi

I would like to display an image in my world. It should be rendered just as it is without any effects of lighting.

I have created a plane, add the image as a texture and am calling...

plane.setLighting(Object3D.LIGHTING_NO_LIGHTS);

The problem is that it is still effected by the worlds ambient light.

How can I prevent this?

cheers

25
News / Re: Version 0.90 has been released!
« on: March 28, 2007, 03:30:37 pm »
Sorry! You are right. I answered my own question after I managed to get it working.

26
Support / Re: Rotate Texture
« on: March 28, 2007, 03:29:15 pm »
No quite :) It's a fruit bowl routered out of a piece of wood.

Soon you will be able to choose your favourate part of the earth and have it turned into a bowl like the one above.

It will be available on http://www.fluidforms.at in the next month.

27
Support / Re: Rotate Texture
« on: March 23, 2007, 05:33:44 pm »
Sorry for the lack of explanation. The mistake was that I was giving the bottom of the block a v of 0 even though it had a y<0, hence the error.

Here is the final result which I am very pleased with. I think I am going to be using JPCT a lot more in future.


28
Support / Re: Rotate Texture
« on: March 23, 2007, 04:55:25 pm »
I am creating the mesh with code. My first attempt was using a plain and just assigning a texture but without finding a way to rotate the texture I have created the mesh myself using u v texture mapping. It is sort of working but I seem to have some rounding errors or some other mistake.

The v coordinate should be the y value of the vertex.


29
Feedback / Re: Open source
« on: March 23, 2007, 02:24:19 pm »
Quote
a) People may change parts of the sources on their own...

In order to do this one must first have the code. In the license it states that one may not decompile the code. I don't wish to change the code but I would love to read it to see how JPCT works. I find this a great way of learing a new library.

I have just started using JPCT having used processing for a long time (open source) and am very impressed by its quality. Could you please just place the code somewhere for download. As stated about this doesn't have to change any of the points you have mentioned.

Thanks for the great work!





30
Support / Rotate Texture
« on: March 23, 2007, 12:28:04 pm »
Hi

I would like to create an object with a texture mappling as showen in the image below. Projecting an image from the top onto a plain is no problem but I would like to project it from the side. Can someone please tell me what I am missing?

cheers


Pages: 1 [2] 3