Page 119 of 123

Re: Spotlight: Señor Casaroja's Noesis

Posted: Mon Oct 09, 2017 7:22 pm
by Kerilk
You can disregard my previous question. I found out that you can switch between anims in the data viewer if they are created with:

Code: Select all

int anims_num = animList.Num();
noesisAnim_t *anims = rapi->Noesis_AnimFromAnimsList(animList, anims_num);
rapi->rpgSetExData_AnimsNum(anims, 1);

Re: Spotlight: Señor Casaroja's Noesis

Posted: Mon Oct 23, 2017 8:44 pm
by itoikenza
MrAdults. you ignored me... i never got around to buying a qumarion for this app... does the app support the newest kinect? i went back in this thread but didn't find any info...

edit: i saw your notes on kinect. and it seems to still run on the 360 model... no?

Re: Spotlight: Señor Casaroja's Noesis

Posted: Fri Oct 27, 2017 11:31 am
by TRDaz
So I've been working on a script recently and have figured out it's bones and weights to load, however some of the meshes include physic parts and they have their own weights, but the skeleton doesn't have bones for them. Because of this, no bone gets loaded so either the script errors when it tries to connect the bone map to the skeleton or if I have it skip, it will load all of the weights wrong.

Does anyone know if there is a function in Noesis that allows it to create bones based on the bone map list? This is the only way that I think could be a way around the problem, by creating bones for the physic weights so that it doesn't error or load weights wrong, unless someone else knows of a fix instead. Thanks!

EDIT: Nevermind! I realised I could just create a new bone with the bone name and it works out just fine.

Re: Spotlight: Señor Casaroja's Noesis

Posted: Sun Oct 29, 2017 9:01 am
by zheneq
I've been working with Wii games lately, and they tend to use separate buffers for positions, uvs, normals, etc. and separate index lists into these buffers. I usually go the most straightforward way and build trilists of vertices, which leads to heavily unoptimized meshes. I could find all of the unique combinations of pos+uv+etc and make an index list for that, or I could let rapi.rpgOptimize sort it out but it would mean building new binary buffers for it. Neither looks very good. Maybe there is a better way to handle this situation?


UPD: I guess Immediate-mode drawing is the answer. Got vertex count almost 5 times down with it and rpgOptimize.

PS: Nothing makes your meshes as unoptimized as an extra tabulation does.

Re: Spotlight: Señor Casaroja's Noesis

Posted: Tue Oct 31, 2017 4:26 pm
by zheneq
What did I do wrong? Same thing for every bone.

Re: Spotlight: Señor Casaroja's Noesis

Posted: Tue Nov 14, 2017 2:44 pm
by Ixi
Señor Casaroja wrote: -4.2 - New "Universal Debugger" client built into Noesis. Uses a generic protocol to support disassembly, memory viewing/modification, and a variety of general debugging features under virtually any architecture and addressing mode. Debugger protocol specifies that either the client or the host may implement necessary functionality to support disassembly and other debugging interfaces.
And how to use it? I really need it but I can't find any info on how to use it. Does it require some specific emulator? Or emulator has to be modified in some way? In my case I want to attach this debugger to PCSXR but I had no luck with this so far. Also how about full support of PS1 memory map with all its mirrors, scratchpad and IO ports? Are they implemented or it can show only the main RAM region?

Re: Spotlight: Señor Casaroja's Noesis

Posted: Tue Nov 28, 2017 5:04 pm
by Starbrain
I was trying to view models from Duke Nukem Forever in Noesis. The data extracted just fine from the .dat files and i have it all in one folder for each character, but i'm getting an error message and crash when i open any .msh file:

Image

Re: Spotlight: Señor Casaroja's Noesis

Posted: Fri Dec 01, 2017 3:24 am
by Ixi
Starbrain wrote:I was trying to view models from Duke Nukem Forever in Noesis. The data extracted just fine from the .dat files and i have it all in one folder for each character, but i'm getting an error message and crash when i open any .msh file:

Image
This is the best error message I've ever seen! :bahaha:

Re: Spotlight: Señor Casaroja's Noesis

Posted: Sun Jan 21, 2018 7:38 pm
by DGIorio
Hi,

I would like to know how to convert a Triangle Strip (with separator FF FF) to triangles. I tried doing my own function but the faces get bad oriented. It seems that Noesis has a function that may can convert the Triangles Strip (noesis.RPGEO_TRIANGLE_STRIP), but I didn't manage to use it.

I'm trying this:

Code: Select all

TriangleStrip = RenderableFile.read(IBlockSize)
Triangle = noesis.RPGEO_TRIANGLE_STRIP(TriangleStrip)
but I'm getting this error: 'int' object is not callable.

Does this function convert a Triangle Strip to triangles? What is the type of the argument?

Thanks in advance!

Re: Spotlight: Señor Casaroja's Noesis

Posted: Mon Jan 22, 2018 12:30 pm
by zheneq
DGIorio wrote:...a function that may can convert the Triangles Strip (noesis.RPGEO_TRIANGLE_STRIP)
It's not a function, it's a constant.
If you are using RPG, you want to call

Code: Select all

rapi.rpgCommitTriangles(TriangleStrip, noesis.RPGEODATA_SHORT, numIdx, noesis.RPGEO_TRIANGLE_STRIP)
Check Noesis/plugins/python/__NPExample.txt for more examples.

Re: Spotlight: Señor Casaroja's Noesis

Posted: Mon Jan 22, 2018 10:55 pm
by DGIorio
zheneq wrote:
DGIorio wrote:...a function that may can convert the Triangles Strip (noesis.RPGEO_TRIANGLE_STRIP)
It's not a function, it's a constant.
If you are using RPG, you want to call

Code: Select all

rapi.rpgCommitTriangles(TriangleStrip, noesis.RPGEODATA_SHORT, numIdx, noesis.RPGEO_TRIANGLE_STRIP)
Check Noesis/plugins/python/__NPExample.txt for more examples.
Thanks for these infos, but "rapi.rpgCommitTriangles" doens't ruturn what I want. However I definied a new function to convert triangle strips to triangle list and it's working pretty well.

Re: Spotlight: Señor Casaroja's Noesis

Posted: Thu Jan 25, 2018 6:04 pm
by zheneq
How do I create morph targets in immediate mode? immVertMorphIndex doesn't seem to do anything.

Re: Spotlight: Señor Casaroja's Noesis

Posted: Tue Feb 06, 2018 8:58 pm
by MrAdults
There are various strip modes you can try if the default one doesn't work, as well as an option to set the terminating index. (pretty common back in the PS3/360 days, people don't tend to bother with strips as much these days)

The morph stuff requires you to commit separate buffers for positions/normals (as many as you need), and immVertMorphIndex specifies the index into those buffers for the vertex you're presently committing.

That DNF bug was fixed quite a few months back, the same time I added DNF animation support.

It's pretty common for me to go months without checking this thread, so if you want a reply from me specifically, you can track me down elsewhere. But I don't promise to not ignore you. (but I probably won't ignore you if you're trying to actually make something in Noesis)

Re: Spotlight: Señor Casaroja's Noesis

Posted: Wed Feb 07, 2018 4:30 am
by zheneq
MrAdults wrote:The morph stuff requires you to commit separate buffers for positions/normals (as many as you need), and immVertMorphIndex specifies the index into those buffers for the vertex you're presently committing.
Sure, but how exactly do I use this function? Whatever I try, Noesis does the same thing as if I wasn't calling it. Which results, obviously, in all targets (corrupted or not) combined in a single mesh.

Re: Spotlight: Señor Casaroja's Noesis

Posted: Mon Feb 12, 2018 10:42 pm
by hodlersho
Guys I'm having trouble with Heads inside stomach, any advice?

Image