POV-Ray : Newsgroups : povray.binaries.images : Updated electric guitar : Updated electric guitar Server Time
4 Oct 2024 07:11:05 EDT (-0400)
  Updated electric guitar  
From: Fabien Mosen
Date: 11 Apr 1999 13:26:00
Message: <3710CD01.22EC45F7@compuserve.com>
Here's an updated version of my electric guitar model.  
The neck is thinner (thus, easier to play), but the junction
between the neck and the head is still not very good (it's hardly
CSG-able).  The bridge (no tremolo) is much more detailed,
and now placed at the right distance (distance between nutshell
and 12th fret is equal to distance between 12th fret and bridge).
Knots are a little more ineresting too.  The body received some kind
of feline 2-tones sunburst finish.

For those who asked how I made the chamfered body, I used 2 macros
that makes "beveled" pie-parts and negative pie-parts (bended towards
the outside, I can't explain better (no, really, I can't ;)).

#macro BevelPie(Center,Height,Rad,AngFromX,AngTot,Bevel,Hole)
intersection {
union {
  cylinder {<0,0,0>,<0,Height,>,Rad-Bevel}
  cylinder {<0,0+Bevel,0>,<0,Height-Bevel,>,Rad}
  torus {Rad-Bevel Bevel translate y*Bevel}
  torus {Rad-Bevel Bevel translate y*(Height-Bevel)}
      } 
plane {z,0 rotate y*AngFromX}
plane {z,0 inverse rotate y*(AngFromX+AngTot)}   
cylinder {<0,-.01,0>,<0,Height+.01,0>,Hole+.01 inverse}
translate Center
}
#end     
     
#macro BevelPieNeg (Center,Height,Rad,AngFromX,AngTot,Bevel,Hole)
intersection {
union {
  difference {
        cylinder {<0,Bevel,0>,<0,Height-Bevel,0>,Rad+Hole}
        cylinder {<0,0,0>,<0,Height,0>,Rad}
        }
  difference {
        cylinder {<0,0,0>,<0,Height,0>,Rad+Hole}
        cylinder {<0,0-1,0>,<0,Height+1,0>,Rad+Bevel}
        }
  torus {Rad+Bevel Bevel translate y*Bevel}
  torus {Rad+Bevel Bevel translate y*(Height-Bevel)}
      } 
plane {z,0 rotate y*AngFromX}
plane {z,0 inverse rotate y*(AngFromX+AngTot)}   
translate Center
}
#end


Post a reply to this message


Attachments:
Download 'gbody2.jpg' (66 KB)

Preview of image 'gbody2.jpg'
gbody2.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.