Page 76 of 123

Re: Señor Casaroja's Noesis

Posted: Wed Aug 08, 2012 8:42 pm
by finale00
I always write to an external file if I need to examine what I'm reading in.

Re: Señor Casaroja's Noesis

Posted: Sun Aug 12, 2012 10:01 pm
by LeonSK
Some one plz post a link to tutorials and tools needed so i can learn how to import some models in noesis. 8D

Re: Señor Casaroja's Noesis

Posted: Mon Aug 13, 2012 12:01 am
by finale00
Tutorial section has a couple guides from chrrox. I think...those are really all you need to figure out how to use noesis to import models. Textured meshes at least. Would be cool to see a similar guide for bones and animations.

It would be logical

1: start by getting the meshes - good enough for screenshots
2: now add the bones and skin the model - now you can actually do stuff with it
3: now add the animations - if you're lazy to make your own

Re: Señor Casaroja's Noesis

Posted: Tue Aug 14, 2012 1:00 pm
by Demonsangel
Lets say I have 9k triangles and 3k vertices and just for the example I need to create "vertex groups" every 500 vertices.

How would I do this in Noesis? I know how to do it if I had the triangle groups, but I don't see a way to do it with vertex groups without looping through all triangles to see which vertex is where and create the groups like that (but seems really inefficient).

Re: Señor Casaroja's Noesis

Posted: Tue Aug 14, 2012 7:51 pm
by chrrox
if the format you are working on is structured like i think it might be i usually read the vertex points in the groups i need then subtract the face number from the face id read.
not sure what format you are working on tho.

Re: Señor Casaroja's Noesis

Posted: Tue Aug 14, 2012 8:21 pm
by Demonsangel
So I'd have to loop through all the triangle to cut them in groups, since all vertices and traingles are 1 large pool. Okay, thanks.

Re: Señor Casaroja's Noesis

Posted: Wed Aug 15, 2012 12:12 am
by chrrox
you can still use the rapi interface with this method
here is something i have done

faceData = []
for a in range(0, meshInfo[5]):
face = bs.readUShort() - meshInfo[2]
faceData.append(face)
faceBuff = struct.pack(">" + 'H'*len(faceData), *faceData)
rapi.rpgCommitTriangles(faceBuff, noesis.RPGEODATA_USHORT, meshInfo[5], noesis.RPGEO_TRIANGLE, 1)

Re: Señor Casaroja's Noesis

Posted: Wed Aug 15, 2012 12:33 am
by finale00
Demonsangel wrote:So I'd have to loop through all the triangle to cut them in groups, since all vertices and traingles are 1 large pool. Okay, thanks.
The indices look like this?

Code: Select all

[<-----into vertex group 1----->][<-----into vertex group 2----->] ....
Or are they just random?

Re: Señor Casaroja's Noesis

Posted: Wed Aug 15, 2012 11:45 am
by itoikenza
could someone provide me with as .noekin map of ff7ac cloud from dissidia 1?

Re: Señor Casaroja's Noesis

Posted: Sun Aug 19, 2012 6:18 pm
by howfie
In Noesis export of OBJ, it gives group names of

g 0
g 1
g 2
etc.

and so on. Some modelers don't like numeric names. Was wondering if you can change that to

g m0
g m1
g m2
etc.

or

g group0
g group1
g group2
etc.

Re: Señor Casaroja's Noesis

Posted: Wed Aug 22, 2012 4:45 pm
by HeliosAI
Not sure if this is the right topic but well...it's about this program so

Is there a way to export the environments from Final Fantasy 7: Crisis Core with their vertex colors? .fbx seems to export them but when i import it to 3ds max there are no vertex colors. I also tried .dae because i read it supports vertex color data too but Noesis doesn't give me any .dae file (it just exports the textures) while there isn't any error message.

Re: Señor Casaroja's Noesis

Posted: Thu Aug 23, 2012 9:45 pm
by MrAdults
howfie wrote:In Noesis export of OBJ, it gives group names of

g 0
g 1
g 2
etc.

and so on. Some modelers don't like numeric names. Was wondering if you can change that to

g m0
g m1
g m2
etc.

or

g group0
g group1
g group2
etc.
I'll look into it, which importer(s) are choking on numbered names?
o0Crofty0o wrote:Not sure if this is the right topic but well...it's about this program so

Is there a way to export the environments from Final Fantasy 7: Crisis Core with their vertex colors? .fbx seems to export them but when i import it to 3ds max there are no vertex colors. I also tried .dae because i read it supports vertex color data too but Noesis doesn't give me any .dae file (it just exports the textures) while there isn't any error message.
FBX and DAE both store vertex colors. I just tested exporting a FF7CC map model to DAE and it works fine, so I don't know what your issue is there. Try looking for write errors in the output log, and perhaps try making sure your destination path has no unicode characters. The old FCollada lib compiled into Noesis is not unicode-friendly. As for FBX, lack of vertex colors would be the importer's fault, you can see that the data is properly stored if you reload the FBX in Noesis.

Re: Señor Casaroja's Noesis

Posted: Fri Aug 24, 2012 9:17 am
by finale00
Any idea what I"m doing wrong?
viewtopic.php?p=76829#p76829

I messed around some more but eventually gave up lol

Re: Señor Casaroja's Noesis

Posted: Fri Aug 24, 2012 11:32 pm
by MrAdults
finale00 wrote:Any idea what I"m doing wrong?
viewtopic.php?p=76829#p76829

I messed around some more but eventually gave up lol
Sorry, I missed that. You just need to move your immNormal3f call above the immVertex3f call. immVertex3f is what commits the vertex with all of the other active vertex components. Remember that you just need to make one of the component calls with None as well if you want to clear it out for the next committed vertex.

Re: Señor Casaroja's Noesis

Posted: Sat Aug 25, 2012 6:19 pm
by Vindis
hi,

may i ask how can i get float16 into this: rapi.rpgBindUV1BufferOfs(varhere, noesis.RPGEODATA_FLOAT, 0, 0)

I'll try to write an Swtor gr2 plugin for Noesis, I have the vertices and faces so far, the only thing is the UV.
It is float16 stored in 2byte or 4 (cant remember, but the test gave me good results), which i can get with getFloat16, but how can i implement this into the buffer?

Sorry if this is noobish question, but it's hard to get Noesis documentation. I'm not that godd in python so i cannot differentiate what can i get from python doc and what from here :D

edit: i think it's better to ask what arguments those rpgBindetcetc expect? i saw someone used RPGEODATA_HALFFLOAT but it didn't worked for me....