← Back to team overview

yade-dev team mailing list archive

[svn] r1579 - in trunk: . gui/qt3

 

Author: cosurgi
Date: 2008-11-22 23:48:27 +0100 (Sat, 22 Nov 2008)
New Revision: 1579

Modified:
   trunk/INSTALL
   trunk/NEWS
   trunk/gui/qt3/YadeQtMainWindow.cpp
Log:
up direction on Y
release 0.12.1



Modified: trunk/INSTALL
===================================================================
--- trunk/INSTALL	2008-11-21 11:07:45 UTC (rev 1578)
+++ trunk/INSTALL	2008-11-22 22:48:27 UTC (rev 1579)
@@ -36,7 +36,7 @@
     * Doxygen
     * wildmagic 3.11 - only if you want Delaunay triangulation support in lattice model
     * log4cxx - extensive logging support and debugging
-    * python-dev, python-scientific, python-matplotlib - for python scripting interface
+    * python-dev, python-scientific, python-matplotlib, python-numpy - for python scripting interface
 	 * gdb
 
 Installation

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2008-11-21 11:07:45 UTC (rev 1578)
+++ trunk/NEWS	2008-11-22 22:48:27 UTC (rev 1579)
@@ -1,5 +1,19 @@
 vim:syntax=changelog
 
+2008-08-20 Janek Kozicki <cosurgi@xxxxxxxxx> revision 1579
+
+	* RELEASE: 0.12.1
+	
+		- several python interface improvements
+		- add code for plotting histogram of interaction directions
+		- added buttons for looking from different directions
+		- new contact algorithm for facets
+		- added python script for making videos
+		- added a TCP server on port 9000 with python console in it
+		- new dependency on python-numpy package, which allows faster math in python
+		- added a script for parametric studies
+
+
 2008-08-20 Janek Kozicki <cosurgi@xxxxxxxxx> revision 1486
 
 	* RELEASE: 0.12

Modified: trunk/gui/qt3/YadeQtMainWindow.cpp
===================================================================
--- trunk/gui/qt3/YadeQtMainWindow.cpp	2008-11-21 11:07:45 UTC (rev 1578)
+++ trunk/gui/qt3/YadeQtMainWindow.cpp	2008-11-22 22:48:27 UTC (rev 1579)
@@ -151,7 +151,7 @@
 	shared_ptr<GLViewer> glv=shared_ptr<GLViewer>(new GLViewer(glViews.size(),renderer,NULL,isFirst?NULL:glViews[0].get()));
 	glv->setCamera(new YadeCamera);
 	glv->camera()->frame()->setWheelSensitivity(-1.0f);
-	glv->camera()->setUpVector(qglviewer::Vec(0,0,1));
+	glv->camera()->setUpVector(qglviewer::Vec(0,1,0));
 	glv->camera()->setViewDirection(qglviewer::Vec(-1,-1,-1));
 	lookDown(glv);
 	glViews.push_back(glv);
@@ -163,14 +163,14 @@
 	bool hasSimulation=(Omega::instance().getRootBody() ? Omega::instance().getRootBody()->bodies->size()>0 : false );
 	if(hasSimulation)
 	{	
-		Vector3r g(0,0,1);
+		Vector3r g(0,1,0);
 		FOREACH(const shared_ptr<Engine>& e,Omega::instance().getRootBody()->engines){
 			if(e && e->getClassName()=="GravityEngine")  
 				g = -1.0*(dynamic_cast<GravityEngine*>(e.get()))->gravity;
 		}
 		glv->camera()->setUpVector(qglviewer::Vec(g[0],g[1],g[2]));
 	} else {
-		glv->camera()->setUpVector(qglviewer::Vec(0,0,1));
+		glv->camera()->setUpVector(qglviewer::Vec(0,1,0));
 	}
 	glv->camera()->setViewDirection(qglviewer::Vec(-1,-1,-1));
 	glv->centerScene();