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

Pages: 1 ... 124 125 [126] 127 128 ... 133
1876
Support / 3ds max tips
« on: August 17, 2006, 09:12:09 pm »
sure, i'll be glad indeed :)

1877
Support / 3ds max tips
« on: August 17, 2006, 02:12:22 pm »
the problem below took me days to resolve, so i thought it may help others if it's documented in a thread.

-- o --

sometimes models arent loaded with 3dsLoader as they look in 3d max. i mean somehow their placement and rotation change when loaded into jPCT.

i first encountered this problem with the commercial village set i use in karga. the producer suggested to use XRef and it effectively solved the problem. this is done by either adding an XRef modifier to each object's stack or by using reset x-form utility in utilities panel (which indeed does the same for all selected objects)

however on some situations XRef doesnt solve the problem. the objects are still misplaced when loaded into jPCT. there seems to be a hidden translation or whatever which XRef doesnt clear, and which in turn confuses the jPCT's loader. here is the solution, it took me days to find it:

create a new object (say a box) and align its center by align tool with our object in question. convert the new object to editable mesh (or poly) and attach our object to it. now go to element sub object level, select new object and delete it. your object has now a brand new transform.

this is the document i found this workaround in: http://fosters.realmwarsgame.com/maxdts/section2.html

note: maybe you may wish to add to this thread in time to build a list of helpful 3d max tips. Egon, maybe you may wish to open a new forum category for this purpose

hope this helps
Code: [Select]
r a f t

1878
Projects / aptal karga (foolish crow)
« on: August 12, 2006, 02:50:06 am »
thx manumoi  :D
Code: [Select]
r a f t

1879
Projects / aptal karga (foolish crow)
« on: August 10, 2006, 06:33:21 pm »
thanks Egon  :D 8)
for popularity i'm not sure. time to time i wrote to some national forums to attract users, these are one of those days that's why there's some crowd inside. for other times i've a few old users who regularly visit karga
Code: [Select]
r a f t

1880
Projects / aptal karga (foolish crow)
« on: August 09, 2006, 03:10:53 pm »
* new dresses are in
* balloons are improved. they look better and placed more smartly. also they are configurable by user

some new shots:




Code: [Select]
r a f t

1881
Support / Problems with pixels~!!
« on: August 08, 2006, 03:32:43 pm »
hey, it's a nice applet Mizuki, the player's movements are so smooth :)

Quote from: "EgonOlsen"
About the clod...a real clod should be doable somehow but the affords needed to do it will most likely kill its benefits. r.a.f.t once did something like this for Karga...maybe he can help here. Clothing simulation should be possible as it is possible to get access to the raw vertex data of a mesh by using an IVertexController (like this deformed plane shows it: http://www.jpct.net/pics/vertexcontrol.jpg).


i'm afraid what i did wasnt actually a cloth simulation. i mean i never used IVertexController for that purpose. i just seperated some parts of the body (like hair) and recorded all animations of body for also those seperated parts. then  in karga added the part as a child to body to move it with body and applied the same animation to that part. currently all mesh based avatar variations (only hair indeed, it sounds cool if i say so ;)) use this technique

Code: [Select]
r a f t

1882
Projects / aptal karga (foolish crow)
« on: July 08, 2006, 02:05:50 pm »
thx, i'm glad to hear that from you :)
for alice, yes all users share the same chat session so alice remembers the last user's name ;)
Code: [Select]
r a f t

1883
Support / Another Texture Problem
« on: July 07, 2006, 11:03:41 pm »
as i remember (i cant reach 3d max at the moment) 3d max converts all texture names to uppercase during export

have a look at console output of your application, if this is the case you should see jPCT warning you for adding non existing textures to texture manager (which are indeed uppercase versions of fps example)

if so, you can either convert all texture file names to upper case or find the code piece which adds textures to texture manager and convert names to uppercase there

hope this helps
Code: [Select]
r a f t

1884
Projects / aptal karga (foolish crow)
« on: July 07, 2006, 10:51:19 pm »
among lots of other boring admin and similar staff, these may be of interest:

* added basic sound support using Ogg Vorbis encoding
* added invisibility and away mode
* added dance animation and dance and kiss music
* and alice bot is in ;) she just chats and accepts all suggestions but doesnt move around at least for now

Code: [Select]
r a f t

1885
Support / JPCT Hello World
« on: June 12, 2006, 10:28:19 pm »
you need to call world.draw(buffer) after world.renderScene(buffer);

Code: [Select]
r a f t

1886
Support / hang during texture load
« on: May 17, 2006, 03:34:02 am »
thanks for the tips ;) i use netbeans 5 but will remember the eclipse tips for future reference

i've completely forgotten the ctrl+break sequence, but unfortunately it doesnt work on my system :shock: possibly because of the keyboard
Code: [Select]
r a f t

1887
Support / hang during texture load
« on: May 17, 2006, 12:05:15 am »
hello,

sometimes program hangs during initial texture loads. this typically happens after running the program a couple of times. i dont think this has anything to do with jpct but with java's image loading mechanism or whatever :?:

by hang i mean a proper hang. it stops responding forever. this is particularly strange since i load such stuff in a background thread, not in awt thread.

furthermore if i try to kill program with control-c it continues at the point it hanged and then terminates.

i suspected a deadlock in awt thread so runned the program with debug option. here comes the most strange part: after a hang, program continues to run if i attach it with debugger :?: anyway, i use this as a local workaround and always start the program with debug option  :wink:

any ideas why this happens and how to solve it
Code: [Select]
r a f t

1888
Support / 2D Primitives
« on: May 15, 2006, 07:28:58 pm »
i know almost nothing about open gl but i will most likely go after the Mr.Marbles' approach. java.awt.geom package can help to generate textures on the fly
Code: [Select]
r a f t

1889
Support / Re: 2D Primitives
« on: May 15, 2006, 05:52:03 pm »
Quote from: "Melssj5"
Hi, is ti posible to draw 2d primitives like Lines, circles, rectangles and things like that???? I need them for a homework and all my classmates are asking for a engine to do that.

seems as java.awt.geom package is the engine you are looking for ;)

Quote
r a f t

1890
Support / Streaming algorithm
« on: May 15, 2006, 05:49:36 pm »
later, i've remembered an article i read about garbage collection stuff. here is a part from it:

Quote
One case where a finalize method delayed GC was discovered by the quality assurance (QA) team working on Swing. The QA team created a stress testing application that simulated user input by using a thread to send artificial events to the GUI. Running on one version of the toolkit, the application reported an OutOfMemoryError after just a few minutes of testing. The problem was finally traced back to the fact that the thread sending the events was running at a higher priority than the finalizer thread. The program ran out of memory because about 10,000 Graphics objects were held in the finalizer queue waiting for a chance to run their finalizers.


i do not have any finalizers and jpct neither has as far as i know. on the other hand this writing means that one can have an OutOfMemoryError even if there are some objects waiting to be collected

plain stupid ? yeah, kind of :roll:

for the curious here is the article by sun: http://java.sun.com/docs/books/performance/1st_edition/html/JPAppGC.fm.html

Quote
r a f t

Pages: 1 ... 124 125 [126] 127 128 ... 133