Jump to content

[1.7.10] Loading OBJ Models!


Mecblader

Recommended Posts

Hello, I am trying to load a obj model for a block I am making. I needed complex geometry for the block render, so I opened up maya and made a model. NOTE: I have never really messed around with rendering obj or any of this type of stuff, so forgive me if I make any stupid mistakes. I couldn't find a good tutorial for loading objs so I looked at the source code of an open source mod. I thought I figured out what to do, until I tried to load the obj file that I had exported from maya. (NOTE: I know the loading code works, because I tested the obj file of the open source mod) I got an error when I tried to run the game.

 

(For some reason none of the buttons, such ass the spoilers, Hyper-link, etc. are not working for me)

Error:

http://pastebin.com/4CkzRbsr

 

(I don't know if you need it but I'll post it anyway)

Model Code:

http://pastebin.com/7BfM723e

 

Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.