Skip to content

Sublime syntax and completation. A bat file to compile and run without the need of XVR eclipse IDE

Notifications You must be signed in to change notification settings

ckevar/XVR-sublime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

XVR-sublime-text

Sublime syntax and completation. A bat file to compile and run without the need of XVR eclipse IDE for Windows.

Sublime-text

Paste the files sublime/XVR.sublime-text and, sublime/XVR.sublime-completation on the following directory C:\Users<your user name>\AppData\Roaming\Sublime Text 3\Packages\User. The results will look like this: alt text

Compiler

You need to install the compiler and the XVRGlut, from here, in order to compile and run the *.s3d files.

Settings

step 1

On the compiler/make.bat and compiler/run.bat files check if the variables S3DC, S3D_DIR and, XVRGLUT are pointing:

  • S3DC -> s3dc.exe
  • S3D_DIR -> VRMedia/Include
  • XVRGLUT -> XVRGlut.exe

If the installation was done by default no need to change anything.

step 2

copy make.bat and, run.bat into your XVR project directory

step3

  1. Open make.bat and go to the line where you see:
set MAIN_S3D="<your_file.s3d>"
  1. Change the <your_file.s3d> with your main *.s3d project file.

  2. We are done with make.bat file

  3. Open run.bat and go to the line where you see:

%XVRGLUT% <your_file.s3d.bin>
  1. Change <your_file.s3d.bin> with your main bin file, which has the same name as the main *.s3d file + .bin

Compile and Run

  1. Open cmd and type:
cd path/to/your/xvr/project/directory
  1. to compile, type:
make
  1. to compile and then run, type:
make -r

Only Run

  1. Open cmd and type:
cd path/to/your/xvr/project/directory
  1. to run, type:
run

About

Sublime syntax and completation. A bat file to compile and run without the need of XVR eclipse IDE

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published