While waiting for course forge, I decided to create our local club house using Google Sketchup and import it into Unity. There is quite a lot of stuff that can be downloaded and imported to Unity for FREE.
The Terrain was also created with Sketchup.
This is just another option for those who don't have any other tools yet.
Here is the Club House
Club House in Sketchup
And Club House in Unity
Erik Lugris, Acrilix, Davefevs and 3 others like this
Gigabyte ga-z68x-ud3h-b3 Motherboard
Intel Core i5-2400 CPU@3.1GHz 3.70GHz
GeForce GTX 1050 Ti
16GB Ram (2)G.Skill Ripjaws F3-10666L9S-8GBXL
Windows 7 Home Premium
Great stuff Jimbo, I've created a few things in Sketchup myself for Unity and it comes out fairly decently. I think Sketchup is going to be a lot of peoples best friend soon.
I spent about 5 or 6 days on it, off and on. A lot of the time was spent learning how to use the program and then figuring out how to import it into Unity correctly and where to put the files so the textures all match up to the project.
These are the video tutorials I used to get me started.
Converts an object mesh to a heightmap to convert it to a Unity terrain.
Usage
You must place the script in your project's Assets folder for it to work properly.
Click on an object in the scene view or hierarchy, then select Object to Terrain from the Terrain menu. The object is then converted to the heightmap in the active terrain. The object you're clicking on must contain the mesh itself--for example, selecting a root transform object, where the actual mesh is contained in the child object, won't work. If in doubt, simply open the mesh asset in the project view, then drag the bare mesh into the scene or hierarchy:
This function uses the axis-aligned bounding box of the mesh, so object rotations on the x and z axis other than 0, or rotations on the y axis other than multiples of 90 degrees, may give somewhat odd results.
You will probably need to adjust the height of the terrain to match the object mesh (using Set Resolution… in the Terrain menu).
Video tutorial
Add plugin jf_get_dimensions.rb to C:\Program Files\Google\Google SketchUp\Plugins
Add object2terrain.js to Unity folder C:\Users\username\Documents\Project Name\Assets
This creates a new Terrain button in the tool bar
Open Sketchup and Add Google to toolbar
Select Add Location and find your golf course
Outline the course and Grab it
Click toggle terrain, click pointer and click the terrain to highlight it.
Click Plugins on toolbar and click Get Dimensions
These numbers are in feet and should be converted to meters or yards
Save as .skp file and reopen it in Sketchup Pro
Then export the file as an .FBX file, This will export the terrain and the .jpg file
Open Unity,
(convert Sketchup numbers to meters, I didn't to save time.)
Import your FBX file as a new asset
Once in your assets, Drag it into the window
Find the mesh and highlight it, next click terrain then object2terrain
Insert XYZ values
You now have a terrain.
Next find the exported folder with the jpg. Drag it to the assets window
double click it to open it in the assets window, it will have to be rotated 190 degrees
highlight the terrain in the hierachy window, click the paint brush and add texture
locate the jpg and add the X,Y numbers and ADD. you should be done.
garynorman and barryverheul like this
Gigabyte ga-z68x-ud3h-b3 Motherboard
Intel Core i5-2400 CPU@3.1GHz 3.70GHz
GeForce GTX 1050 Ti
16GB Ram (2)G.Skill Ripjaws F3-10666L9S-8GBXL
Windows 7 Home Premium
I have no idea if I'll be able to get anything I have done into a game yet, or even if anything will work in CourseForge, until something gets released. It's All Guess work.
Gigabyte ga-z68x-ud3h-b3 Motherboard
Intel Core i5-2400 CPU@3.1GHz 3.70GHz
GeForce GTX 1050 Ti
16GB Ram (2)G.Skill Ripjaws F3-10666L9S-8GBXL
Windows 7 Home Premium
Shimonko is right, it will transfer to the game. Of course if you put a clubhouse in with a zillion polygons so your course runs very slowly in the game, there is a chance no one will play it
Shimonko is right, it will transfer to the game. Of course if you put a clubhouse in with a zillion polygons so your course runs very slowly in the game, there is a chance no one will play it
It may never get used or if it does, I will strip it down, since it will only be seen from a distance in a game. Right now it has 295,000 faces, 350 materials and 311 textures. (according to the fbx export) I'm not sure how many polygons that is. This is just something to do while waiting for something else to come along. It has been a long winter.
Gigabyte ga-z68x-ud3h-b3 Motherboard
Intel Core i5-2400 CPU@3.1GHz 3.70GHz
GeForce GTX 1050 Ti
16GB Ram (2)G.Skill Ripjaws F3-10666L9S-8GBXL
Windows 7 Home Premium
Excellent work, some very nice progress here. Great to see the visuals and someone prepared to share what they have achieved. Hoping your experience is as fun as ours, regardless of having better tools to shape fairways and greens, the rest of Unity is as plentiful for everyone. The work never stops..!! Keep going !
Thanks K11 and IanD, I'm still searching for trees and other things to plant. I have allot of cloning going on at the moment. In the mean time I built the Flume cottage just off the 15th green overlooking the ocean. Still needs some editing.
Kablammo11, IanD and shimonko like this
Gigabyte ga-z68x-ud3h-b3 Motherboard
Intel Core i5-2400 CPU@3.1GHz 3.70GHz
GeForce GTX 1050 Ti
16GB Ram (2)G.Skill Ripjaws F3-10666L9S-8GBXL
Windows 7 Home Premium