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 - EgonOlsen

Pages: 1 ... 780 781 [782] 783 784 ... 793
News / Version 0.96 has been released!
« on: November 27, 2003, 09:15:52 pm »
Changes are documented here:

In addition, i finally replaced the jPCT-demo from the stoneage with a more current version. To be precise, the new jPCT-demo is simply the fps-demo from the examples-dir of the API-distribution bundled with LWJGL 0.7.

Have fun!

Bugs / Bug in 0.92-0.95 in Matrix.scalarMul()
« on: November 27, 2003, 09:12:37 pm »
The fixed version is out.

Support / Level file format - final ?
« on: November 26, 2003, 11:02:32 pm »
Quote from: "rob"
Another method we were thinking about using is loading pre made (serialized) texture objects instead of loading jpg and turning them into textures. Also we were thinking evenuatlly we would like to manipulate the textures on a pixel level.

Anyway, we are just trying to find something that will help us get the game built faster instead of f**king about with the engine - which we seem to suck at and you do not :)
Serialization is supported by jPCT, but the serialized output can be quite least if you serialize the whole world. Manipulating textures on the pixel level is also possible by implementing the ITextureEffect interface. However, this can't be used to create textures. If it's a showstopper for you that you don`t have a constructor for textures that takes an int[] as parameter, i'll possibly add this.

I like your Doom-engine...what's wrong with it? (Except for the limitations these engines always have).

Bugs / Bug in 0.92-0.95 in Matrix.scalarMul()
« on: November 20, 2003, 10:09:44 pm »
:oops: There's a bug in the scalarMul()-method in Matrix from version 0.92 on. This bug affects Object-scaling too, so this won't work anymore in all versions from 0.92-0.95. I'll release 0.96 to fix this ASAP.

News / The "rotating earth"-applet on the frontpage...
« on: November 13, 2003, 11:52:11 pm »
...i've managed to upload an updated version of it. Finally!
The new version uses jPCT 0.95 instead of the ancient 0.79 the old version was using.

Feedback / Insets and finding titlebar width
« on: November 12, 2003, 05:47:02 pm »
Thank you for that...i wasn't aware of this possibility and i'll add it to the next release.

Edit: Added!

Bugs / ArrayIndexOutOfBoundsException when loading 3ds in FPS demo
« on: November 12, 2003, 04:29:11 pm »
Please send me the model then, so i can verify the problem myself. It should work... :(

Bugs / ArrayIndexOutOfBoundsException when loading 3ds in FPS demo
« on: November 12, 2003, 12:50:19 pm »
Are you doing a

Code: [Select]

on the teapot?

News / Version 0.95 has been released!
« on: November 10, 2003, 06:21:38 pm »
Changes/fixes are documented here:

Have fun!

Bugs / ArrayIndexOutOfBoundsException when loading 3ds in FPS demo
« on: November 09, 2003, 06:12:42 pm »
I don't have 3DS at all. All i have are converters from and to 3DS. Seems like the error happens when merging the objects from the 3DS-file into a large one. It would be very helpfull if you could send me such a file of yours, so i can reproduce the problem better.

Edit: Fixed in 0.95

Support / Level file format - final ?
« on: November 03, 2003, 05:44:20 pm »
I'm not quite sure what you mean with "level-format" can basically use any supported format (well, except MD2) for storing your level. The demos are using the 3DS-format. It's quite small (at least compared to the ASCII-based formats) and a lot of tools are available for conversion from and to 3DS.
The XML-format was an attempt to create something that's easy to read/write, extendable and that supports portals. You may use it, but you have to do the conversion into jPCT's XML-format yourself.

About the final-thing: There are two reasons for this. Older VMs like it performance wise and there's not much encapsulation used within jPCT, so it would be quite hard to extend Texture (for example) without knowing something about the inner workings. I did this to keep the API small and fast...the price you pay for this is, that it's not easy for others to extend it. I can remove the final and see how it works out performance wise, but i doubt that you'll be very happy with it. What exactly do you have in mind? Using an int[](byte[])-array from an instance of your Image-object as a texture instead of loading it from somewhere else?

Support / texture
« on: November 03, 2003, 05:30:35 pm »
What does the texture do instead? Maybe you are using environment mapping for the sphere. What you should do is to either project a texture onto the sphere using Object3D.calcTextureWrapSpherical() or Object3D.calcTextureWrap() or use the sphere object i'm using for the demo. It's in ASC-format and can be found here: The suffix is ask instead of asc because older Netscape-browsers are having some problem with applets loading asc-named files.
Hope this helps.

Feedback / The future of jPCT
« on: October 30, 2003, 12:03:19 am »
Quote from: "erikd"
Are you limiting the hw renderer's featureset because the current jPCT is designed as a software renderer or is it a design goal that both hw and sw renderers have identical features?
A little bit of both... :wink: jPCT's basic idea was to provide fast software rendering. I never even thought about hardware support before LWJGL surfaced and even then, it took me some time (and some requests by others...) to convince myself to try it. I wanted to stay compatible with 1.1. and be able to run jPCT in applets. Applets are quite pissy about imported classes that aren't there even if you don't use them, so you have to hide Java2 class-usage from 1.1 by using the plugin-approach the FrameBuffer and the IRenderer are offering. This limits the knowledge about LJWGL/OpenGL to the GLRenderer and it requires some "tricks" to get things working. Blitting and RGBScaling are examples of this. So even if it's possible to add hardware features regardless of the software renderer, the current design makes it difficult to do that in a convenient way sometimes. On the other hand, i really don't want to change the API everytime and force people to refactor their applications every month. That's something i really hate to do myself, so i'm trying to avoid it...
jPCT's hardware support is quite separated from the rest of the engine. If it weren't, i would have to maintain two completely different rendering pipelines making the code/API a mess and the size would grow. That's the reason why jPCT isn't a polygon pusher...hardware T&L is used somehow, but not to an extent. HW and SW are basically using the same pipeline until drawing of the actual polygons starts.
And finally, i want sw and hw to behave as equal as possible. That's because i think that it's usefull for pushing 3D into the Java-world, like it was usefull for Unreal to offer a software mode. Aside from and similar communities, 3D in Java is not taking place IMO, so i think it's important to make is accessible for as much people as possible to show that it could be done and to show them how they may benefit from using it. When this is achieved, you can think about adding all the fancy features...but maybe in another engine...(jPCT2.0+  :wink: )

Support / landscape viewer applet
« on: October 29, 2003, 11:17:12 pm »
I finally uploaded a version for you to test. This is not a full release, just a pre-release of 0.95 that includes only the javadocs and the jpct.jar.
It can be found here: ** edit: Link removed, download the latest version of jPCT instead ** Not everything implements (things like Loader or Primitives for example don' just doesn't make sense for them).
Please let me know if and how it works, so i can add it to the next release.

Support / Octree question
« on: October 25, 2003, 04:22:04 pm »
You may ignore the problem...the culling won't be performed using the octree nodes then but the objects' bounding boxes. If we aren't talking about zillions of objects here, this should be fast enough...
If not, you may have a look at Object3D.translateMesh(). This does a physical translation of the object in object space, so you may setup the translation for each object, call translateMesh() for each and merge them afterwards. This way, you should get one large object with the cubes at the correct positions.

Hope this helps.

Pages: 1 ... 780 781 [782] 783 784 ... 793