WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-17-2011, 07:18 AM
jaclyn.bill jaclyn.bill is offline
Member
 
Join Date: Oct 2007
Posts: 42
texture .ive or .wrl

Dear all,

I'm trying to wrap a checkerboard texture round a spherical object. I've tried using the default ball.wrl and a soccerball.ive

Code:
check = viz.add('checker.jpg',wrap=viz.REPEAT)
ball = viz.add('ball.wrl')
#ball = viz.add('soccerball.ive')
ball.texture(check)
ball.texmat( viz.Matrix.scale(1,1,10) )
This does not work at all with the soccer ball, which I'd have preferred as it's more spherical. It does work with the .wrl object but the checker board is normal on some surfaces and stretched on others - regardless of how much I play with the repeats and scales.

I essentially want it to look like a 3D version of the attached .bmp. Is my only option to draw one myself with many small black and white vertices?

Many thanks. Jac
Attached Images
File Type: bmp sphere.bmp (803.6 KB, 988 views)
Reply With Quote
  #2  
Old 05-17-2011, 02:38 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Do you have 3ds Max or other modeling software?
Reply With Quote
  #3  
Old 05-18-2011, 01:04 AM
jaclyn.bill jaclyn.bill is offline
Member
 
Join Date: Oct 2007
Posts: 42
No, unfortunately not

I could down load the 30 day trial of 3Dmax - if that version can do what you might suggest. But my research doesn't really warrent buying a full version so don't think that would be possible.

Thank you. Jac
Reply With Quote
  #4  
Old 05-18-2011, 11:45 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Here's a checkerBall model you can use.
Attached Files
File Type: zip checkerBall.zip (19.1 KB, 860 views)
Reply With Quote
  #5  
Old 05-19-2011, 01:57 AM
jaclyn.bill jaclyn.bill is offline
Member
 
Join Date: Oct 2007
Posts: 42
Thanks Jeff, really appreciate you sharing this with me.

unfortunately, I'm having trouble with it and get the following error

Warning: Could not find plugin to read objects from file "CheckerBall.IVE".
** ERROR: Failed to load 'CheckerBall.IVE'

I'm using version 3.18.0002. I have gone into my system properties - environmental variable and deleted references to a vizard 2.5 bin (as per a post on here) but this hasn't solved the problem. Do I need to update vizard itself?

I'm also running this on the Lite addition of Vizard and can't try it on the full version until next week, is that the issue?

Many thanks, Jac
Reply With Quote
  #6  
Old 05-19-2011, 01:14 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Sorry, that will only work with Vizard 4, it was exported using the Vizard 4 OSG exporter. You can test it out now using the Vizard 4 Beta.

I'll post a Vizard 3 version as well.
Reply With Quote
  #7  
Old 05-19-2011, 02:49 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
This will work in Vizard 3.
Attached Files
File Type: zip checkball_R3.zip (19.1 KB, 854 views)
Reply With Quote
  #8  
Old 05-20-2011, 08:19 AM
jaclyn.bill jaclyn.bill is offline
Member
 
Join Date: Oct 2007
Posts: 42
Great, all working. Thank you very much!

Best, Jac
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird texture on .ive model viewed from Sensics HMD Zhi Vizard 11 02-25-2013 04:38 AM
How to render a texture of the transparent object and then blur it whj Vizard 1 09-25-2012 03:15 PM
How to apply shader and render texture to an object whj Vizard 0 04-23-2010 12:23 PM
Randomly and Continuously Change Avatar's Face Texture Karla Vizard 4 08-22-2008 12:14 PM
texture problem with .wrl file whj Vizard 5 05-01-2008 02:09 PM


All times are GMT -7. The time now is 07:11 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC