KeyShot Forum

Technical discussions => Data Import => Topic started by: eobet on May 23, 2011, 04:35:50 PM

Title: .obj files imported from mcobj (Minecraft) produce strange results
Post by: eobet on May 23, 2011, 04:35:50 PM
So, I'm not really a Keyshot user and this might not be a critical Keyshot issue, but I thought I'd throw this in here since other packages seem to handle this fine...  :)

Other package (untextured):
http://i.min.us/ic6YT0.jpg

Keyshot (note the weird shadows):
http://i.min.us/iqbmq.jpg

You can get Minecraft from here:
http://www.minecraft.net/

The .obj file exporter from here:
https://github.com/quag/mcobj

And a convenient gui from here:
http://code.google.com/p/mcobj-gui/

The resulting .obj file is (for me) about 80mb large so it's rather cumbersome to share, unfortunately, but hey, this might give you an excuse to try Minecraft!  ;)
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: guest84672 on May 23, 2011, 05:04:34 PM
Looks right - the shadows are a result of the lighting in the scene. Change the lighting and you will notice how the lighting and with it the shadows change.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: eobet on May 23, 2011, 06:13:02 PM
Well... I tried to match materials, lights and camera angles between the scenes... do you still think it looks right?

Keyshot:
http://i.min.us/ic2zE4.jpg

Other:
http://i.min.us/ilkUu.jpg

Keyshot:
http://i.min.us/ic6WX6.jpg

Other:
http://i.min.us/il8vK.jpg


If I didn't know anything about Keyshot (and I don't), I would say that I was looking at a very messed up gouraud shaded polygon frame.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: Robert V. on May 24, 2011, 03:37:28 AM
you could still share your model by uploading it to a site like megaupload. Then I can have a look at this model for you.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: guest84672 on May 24, 2011, 06:19:19 AM
Looks like you are using the translucent material. This will take a while to calculate. Your "Other" rendering solution has a single light source with a fake shadow. Can't really compare that. Change the environment and see how this changes the lighting and shadows.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: larsy on August 17, 2011, 01:54:30 PM
I have the same problem. It's not about the material and its not about the lighting. Here are some examples.
http://i.min.us/icxJijjKW.jpg
http://i.min.us/iEHjIN87.jpg

How can I fix it ???
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: guest84672 on August 18, 2011, 08:31:50 AM
What issues are you referring to? It looks like you need to let it res up longer.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: larsy on August 19, 2011, 04:12:47 AM
No no, I mean the weird shadows especially on the second picture on the roof of the house. See the shadows are wrong? Also the light looks weird on the house but on the ground it looks fine. I'm starting to think this is a problem with the obj file.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: guest84672 on August 19, 2011, 06:44:52 AM
Can you send me that obj file?
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: larsy on August 19, 2011, 09:37:59 AM
Sure, here it is:

http://www.box.net/shared/1ko3df2mrb9y30jbhq56
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: guest84672 on August 19, 2011, 02:05:23 PM
I imported it - looks fine. Did you scale the model by any chance?
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: larsy on August 19, 2011, 05:06:22 PM
Well, when I imported it it looked like  sh*t, so I'd like to see a screenshot of how it looks like in your pc. I did try to scale it to a bigger or smaller size and it didn't change.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: Chad Holton on August 19, 2011, 09:10:28 PM
Hi larsy,

I opened it up as well, but not sure what it's supposed to look like. Can you post an image of the part from your native CAD software?

Thanks,
Chad
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: larsy on August 20, 2011, 04:09:16 AM
I'm sorry I'm a noob so I don't really know what you mean by native CAD software. Is it the software in wich I created is. I created it in minecraft (a game) and used a obj converter to make it an obj file. I can send you a screenshot of the building in minecraft if you want.

ps: thanks for your help. ;D
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: Chad Holton on August 20, 2011, 04:14:22 AM
Oh, sorry - Yes, please post a screenshot from minecraft.  ;)
You can use the attachment option (under "Additional Options") when posting, so you don't have to upload somewhere else.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: larsy on August 20, 2011, 05:14:11 AM
Thanks for the tip here is the screenshot.
And the image I posted earlier from inside keyshot, was the back of the building.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: guest84672 on August 20, 2011, 06:40:13 AM
Here is a screenshot.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: larsy on August 20, 2011, 06:43:32 AM
Hey wow thanks, how did you do that? Is this in keyshot?
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: guest84672 on August 20, 2011, 07:37:16 AM
Yup - just straight import. Default environment. Didn't even change the material or color. Just moved the camera, let it sit for a few sec, and I was done.
Title: Re: .obj files imported from mcobj (Minecraft) produce strange results
Post by: larsy on August 20, 2011, 07:54:44 AM
Well then I guess its just my keyshot. Thanks anyways.