Board index » General » Court Docket

Page 1 of 1[ 14 posts ]
 


3D Models on CRTopic%20Title
User avatar

The protagonists of my fangame!

Gender: None specified

Location: Behind you...

Rank: Desk Jockey

Joined: Fri Jul 08, 2011 11:26 am

Posts: 55

The 3D models in AAI2 and Apollo Justice are now available thanks to Henke37 and I've been trying to find a way to convert them to .x format. What do the admins think about the idea of adding them to CR's resource collection? What format(s) should they be in? How about a web-based viewer?
Re: 3D Models on CRTopic%20Title
User avatar

Tea time.

Gender: None specified

Rank: Desk Jockey

Joined: Thu Aug 12, 2010 12:22 am

Posts: 126

Sweet, this could have been useful for reference when I tried to look at the files within GK2 for a reference to for my TF2 Model , but I managed to make it without it anyway. I did manage to rip it, but not the model file itself, I kind of cheated, I ripped each frame and compiled it into a gif, like this:
Image
I guess we could have some sort of model viewer, kind of how the TF2 wiki has a 3D viewer on the weapons, though I think it's comprised again, of compiled images in some clever javascript/html5 code.
Image
Re: 3D Models on CRTopic%20Title
User avatar

Programmer

Gender: Male

Location: Sweden

Rank: Bug Sweeper

Joined: Sun Mar 22, 2009 3:25 pm

Posts: 832

This sounds fun. Keep me in the loop will you?
Currently working on a redesign of cr.net itself! Come talk to me about it on Discord!
Re: 3D Models on CRTopic%20Title
User avatar

nuuuuu, stoooooop

Gender: Female

Location: America

Rank: Admin

Joined: Fri Feb 23, 2007 5:16 am

Posts: 5255

I........... have no idea how to do what you're saying tbh, and I still have a lot of backlogged updating to do. But I'm certainly not opposed to having them on the main site, if there's a simple enough way to do it.
ImageImage
Re: 3D Models on CRTopic%20Title

Jammin' like it's 2024

Gender: Male

Location: UK

Rank: Ace Attorney

Joined: Sat Jan 12, 2008 12:50 am

Posts: 1044

Speaking as an oik, this is definitely worth pursuing.

Are you looking to rip them as 2D images or the raw 3D model data? It's not clear from this thread yet.

This is complicated somewhat by the fact that viewing 3D in a web browser absolutely requires a plugin of some sort. What did you have in mind for actually displaying the models?
Does we even do these things anymore?
Re: 3D Models on CRTopic%20Title
User avatar

The protagonists of my fangame!

Gender: None specified

Location: Behind you...

Rank: Desk Jockey

Joined: Fri Jul 08, 2011 11:26 am

Posts: 55

As 3d models, of course. They'd be more useful for fangames.

Henke37 has written some scripts to read NSBMD files. Somebody (he maybe) could make a model viewer.
Re: 3D Models on CRTopic%20Title
User avatar

Art Person

Gender: None specified

Location: Making Sprites

Rank: Ace Attorney

Joined: Thu Sep 30, 2010 11:23 am

Posts: 3284

dirtypantsdan wrote:
TF2 wiki has a 3D viewer on the weapons, though I think it's comprised again, of compiled images in some clever javascript/html5 code.

It is. (Using Firefox to "view page info") I found It's a .jpg in a string of each frame next to each other.
If someone on CR knows how to do this, then all people need to do is screenshot a frame of it from each angle as it rotates horizontally, Maybe they could make each piece of evidence viewable.
Re: 3D Models on CRTopic%20Title
User avatar

The protagonists of my fangame!

Gender: None specified

Location: Behind you...

Rank: Desk Jockey

Joined: Fri Jul 08, 2011 11:26 am

Posts: 55

That method would NOT get you a 3D model, only a bunch of images.
Re: 3D Models on CRTopic%20Title
User avatar

Programmer

Gender: Male

Location: Sweden

Rank: Bug Sweeper

Joined: Sun Mar 22, 2009 3:25 pm

Posts: 832

The correct way to do this would be to parse the model data and save it out in a more common format.

Thing is, I don't get the data structure description for the models. The format specification fails to describe the way the geometry is actually stored.
Currently working on a redesign of cr.net itself! Come talk to me about it on Discord!
Re: 3D Models on CRTopic%20Title
User avatar

The protagonists of my fangame!

Gender: None specified

Location: Behind you...

Rank: Desk Jockey

Joined: Fri Jul 08, 2011 11:26 am

Posts: 55

There's an application called nsbmd tool that displays NSBMD files here (source code included).
Re: 3D Models on CRTopic%20Title
User avatar

Programmer

Gender: Male

Location: Sweden

Rank: Bug Sweeper

Joined: Sun Mar 22, 2009 3:25 pm

Posts: 832

Thanks. This is the first code that I almost understand. The problem here is that my suspicion is confirmed.

The model does in fact not use a simple data storage setup, but rather a list of commands to execute to set up the renderer such that the model is drawn. You would need to implement at least one command executer here so that the calculated data could be stored as actual data. It is far from hard to do so, but it is one obstacle more.

What is worrying me more is how to properly represent the data the commands create. I have no experience with 3d modeling file formats or 3d rendering apis.
Currently working on a redesign of cr.net itself! Come talk to me about it on Discord!
Re: 3D Models on CRTopic%20Title
User avatar

Tea time.

Gender: None specified

Rank: Desk Jockey

Joined: Thu Aug 12, 2010 12:22 am

Posts: 126

drthingums wrote:
That method would NOT get you a 3D model, only a bunch of images.

Kind of the point, I'm no web designer or anything, but I do know that keeping bandwidth to a minimum is always a good thing right? Just tried to offer an simple and efficient alternative 'tis all. Then again I don't know how big these NSBMD files will be vs multiple images.

henke37 wrote:
Thanks. This is the first code that I almost understand. The problem here is that my suspicion is confirmed.

The model does in fact not use a simple data storage setup, but rather a list of commands to execute to set up the renderer such that the model is drawn. You would need to implement at least one command executer here so that the calculated data could be stored as actual data. It is far from hard to do so, but it is one obstacle more.

What is worrying me more is how to properly represent the data the commands create. I have no experience with 3d modeling file formats or 3d rendering apis.


Oh man, sounds like you're all over this. When you manage to pull it off, do you think you could emulate that nice DS model low resolution render? I always thought that would make it look awesome, rather than a straight up model render, in fact I recently tried experimenting with three.js to render my model, exported it as a .obj and used a python converter to make it a json file for it to be compatible with three.js. Since I ain't no programmer, I hardly know anything about Javascript so maybe you might be better at understanding most of it, all I did was edit an already existing example and managed to render my model through WebGl you can see it right here. Not too shabby, but still I'd rather a native nsbmd model viewer with that nice DS rendering if it's even possible.
Image
Re: 3D Models on CRTopic%20Title
User avatar

Deputy of Self-Esteem

Gender: Male

Location: Connecticut

Rank: Admin

Joined: Thu Feb 22, 2007 8:36 pm

Posts: 3449

dirtypantsdan wrote:
drthingums wrote:
That method would NOT get you a 3D model, only a bunch of images.

Kind of the point, I'm no web designer or anything, but I do know that keeping bandwidth to a minimum is always a good thing right? Just tried to offer an simple and efficient alternative 'tis all. Then again I don't know how big these NSBMD files will be vs multiple images.

henke37 wrote:
Thanks. This is the first code that I almost understand. The problem here is that my suspicion is confirmed.

The model does in fact not use a simple data storage setup, but rather a list of commands to execute to set up the renderer such that the model is drawn. You would need to implement at least one command executer here so that the calculated data could be stored as actual data. It is far from hard to do so, but it is one obstacle more.

What is worrying me more is how to properly represent the data the commands create. I have no experience with 3d modeling file formats or 3d rendering apis.


Oh man, sounds like you're all over this. When you manage to pull it off, do you think you could emulate that nice DS model low resolution render? I always thought that would make it look awesome, rather than a straight up model render, in fact I recently tried experimenting with three.js to render my model, exported it as a .obj and used a python converter to make it a json file for it to be compatible with three.js. Since I ain't no programmer, I hardly know anything about Javascript so maybe you might be better at understanding most of it, all I did was edit an already existing example and managed to render my model through WebGl you can see it right here. Not too shabby, but still I'd rather a native nsbmd model viewer with that nice DS rendering if it's even possible.


Before you guys get too far, might I suggest you don't focus on the Rise from the Ashes models? The new HD game has some nifty resources.
Image
Bump - bump - bump - bump - bump - bump - bump
Re: 3D Models on CRTopic%20Title
User avatar

Programmer

Gender: Male

Location: Sweden

Rank: Bug Sweeper

Joined: Sun Mar 22, 2009 3:25 pm

Posts: 832

I am sorry, but my current focus lies on writing a SDAT sequence player. It is almost done, but I have a final hurdle before it works. But once done it should let us listen to the music from the games.

As for what to make an eventual model viewer with, Flash is now an option. It got real hardware accelerated 3d rendering last year.
Currently working on a redesign of cr.net itself! Come talk to me about it on Discord!
Page 1 of 1 [ 14 posts ] 
 
Display posts from previous:  Sort by  

 Board index » General » Court Docket

Who is online
Users browsing this forum: No registered users and 8 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB

phpBB SEO