spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / 3d / lesson55

Lesson 55 - More Texture Mapping - Part 2

Developer News
Google Chrome Playing Catch-Up on Extensions
Open Solutions Alliance Gets New Leadership
Red Hat Spacewalk Expands Linux Management

How about scaling the projection gizmo so that it fits the dimensions of the wall? Like so.

There's an obvious problem here. By stretching the projection, we've stretched the map so that the blue and yellow squares are now rectangles, longer horizontally than they are vertically. So this method is not going to work.

A better approach uses tiling. By permitting the bitmap to tile, it repeats itself across the surface of the model, in one or both dimensions. Here we rescale the projection gizmo so that the projection is perfectly square and the same height as the wall. With tiling in the horizontal direction, the pattern is correctly repeated across the back wall without distortion.

But now there's a problem with the side wall. A planar projection for one wall won't make sense for another. The pattern at the corner is simply smeared along the side wall.

A couple of answers may occur to us. One possibility is to angle the projection into the corner to catch both walls on an equal slant.

This can look pretty convincing, but it takes a careful touch to get the projection just right. The size of the pattern is not exactly the same on both walls, but in many contexts this will not be noticeable.

Another approach is to divide the job up, with separate projections for the two pairs of walls. In MAX, this involves creating separate material ID's for the two pairs of walls, so that each can have the texture applied separately. Here are the pairs of selected polygons and their respective projections.


So how does this end up looking?

To Continue to Part 3, or Return to Part 1, Use Arrow Buttons


internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Whitepapers and eBooks

Symantec Whitepaper: Converging System and Data Protection for Complete Disaster Recovery
Intel Whitepaper: Comparing Two- and Four-Socket Platforms for Server Virtualization
IBM Solutions Brief: Go Green With IBM System xTM And Intel
HP eBook: Simplifying SQL Server Management
IBM Contest: Are You the Next Superstar? Join the "Search for the XML Superstar" Contest to Find Out
Intel PDF: Quad-Core Impacts More Than the Data Center
Intel PDF: Virtualization Delivers Data Center Efficiency
Go Parallel Article: PDC 2008 in Review
Avaya Article: Communication-Enabled Mashups: Empowering Both Business Owners and IT
Intel Whitepaper: Building a Real-World Model to Assess Virtualization Platforms
PDF: Intel Centrino Duo Processor Technology with Intel Core2 Duo Processor
Microsoft Article: Build and Run Virtual Machines with Hyper-V Server 2008
  Go Parallel Article: Q&A with a TBB Junkie
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
IBM eBook: The Pros and Cons of Outsourcing
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Symantec Whitepaper: Comprehensive Backup and Recovery of VMware Virtual Infrastructure
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Review: Lenovo ThinkPad SL300 · OCZ PC3-10666 Gold 2x1GB Review · Apple Recommends Antivirus for Macs

Created: Dec. 8, 1998
Revised: Dec. 8, 1998

URL: http://webreference.com/3d/lesson55/part2.html